Load On Demand with Large DataSet and No Grouping

2 posts, 0 answers
  1. john81
    john81 avatar
    36 posts
    Member since:
    Jan 2010

    Posted 12 May 2014 Link to this post

    I'm trying to figure out how to get the OrgChart to work with a large .NET dataset but I'm not having much luck.

    If I just bind the dataset using .DataSource it takes over a minute to draw the nodes and the page is less than responsive.  That's no good.

    I tried setting the property LoadOnDemand="Nodes" but that doesn't seem to do anything.  All the nodes are rendered.

    I can limit the number of levels on the initial rendering using the MaxDataBindDepth property.  That works great but I don't see + signs on nodes that have children so I can't expand the tree as I would expect.

    The Load on Demand demo looks like it would provide functionality that I want but it is setup to do grouping which I don't want.  Is there an example somewhere of a straight forward bind to a .NET dataset (or datatable) with LoadOnDemand that only loads 2 or 3 levels then allows you to click on the + on each node that has children to further expand the tree?
  2. Plamen
    Plamen avatar
    2926 posts

    Posted 15 May 2014 Link to this post


    I am attaching a sample where similar behavior is applied by using the sample code provided in this help topic.

    Hope this will be helpful.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top