We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Urgent: Doesn't load the TreeView at times?

Thread ID:

Created:

Updated:

Platform:

Replies:

142930 Feb 26,2019 08:36 AM UTC Feb 27,2019 12:02 PM UTC ASP.NET Core - EJ 2 1
loading
Tags: TreeView
John Stephen Mangam
Asked On February 26, 2019 08:36 AM UTC

Hi,

I see an inconsistent pattern of loading of TreeView on and off

The Bricks view doesn't load the TreeView at times.

<div class="row">
    <ejs-treeview id="testTree">
        <e-treeview-fields id="nodeId" parentId="pid" text="nodeText" hasChildren="hasChild" expanded="expanded">
            <e-data-manager url="/Bricks/GetAllData" adaptor="ODataV4Adaptor" crossDomain="true" offline="true"></e-data-manager>
        </e-treeview-fields>
    </ejs-treeview>
</div>

BricksController.cs

        [HttpGet]
        [HttpPost]
        [ActionName("GetAllData")]
        public IEnumerable<ParentNodeViewModel> GetAllData()
        {
            return ...;
        }

What could be the issue?

Christopher Issac Sunder K [Syncfusion]
Replied On February 27, 2019 12:02 PM UTC

Hi John, 

Thank you for contacting Syncfusion support. 

We have prepared a sample based on your query but we were unable to replicate the issue at our end. Please check the following sample and modify it as per your application , So that it would be more helpful to sort out the issue and resolve it. Also please let us know exact scenario of TreeView on and off in your application. Are you mentioning destroy and re-rendering treeview? 
Sample 

Thanks, 
Christo 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;