Performance problem - 900 total nodes w/ 227 root nodes

3 posts, 0 answers
  1. nicholas
    nicholas avatar
    1 posts
    Member since:
    Jul 2011

    Posted 20 Jul 2011 Link to this post

    I have a set of hierarchical data I am binding to a Tree List control. The source data contains 900 total rows with 227 of the being roots resulting in a long original list plus each branch can have sometimes 6 levels.

    The tree list is:
    1) very slow to load initially
    2) very slow to expand children when expand button clicked (postback to server is slow but grid/page painting is instant)
    3) focus does not go to the node that was expanded

    Here's some info from the trace log Begin Load 0.000159517480573648 0.000017
    Start OnNeedDataSource 0.000180190499071809 0.000021
    Start database call 0.00020058415245513 0.000020
    Finish database call 6.53778594765536 6.537585
    Start generation of parent ids 6.53783343972488 0.000047
    Finish generation of parent ids 6.56655440845135 0.028721
    Finish OnNeedDataSource 6.56660441480691 0.000050 End Load 14.5043473402346 7.937743

    Please advise how i can speed up the performance of the grid. I read posts about Tree View having load on demand features but couldn't find documentation for the same feature for Tree List.
  2. DR
    DR avatar
    2 posts
    Member since:
    Jul 2005

    Posted 22 Jul 2011 Link to this post

    I'm currently running Rad Controls for ASP.Net Ajax Q1 2011 SP2.
    I read in the documentation that the Q2 release supports scrolling and saving scroll position attributes. I'm working on downloading that now. I still have a problem with the performance of the Tree List control.

    ** note -  I am Nicholas the one who opened the original thread but all future correspondence from me will be from my Telerik account (Dennis Rosen).

  3. DevCraft R3 2016 release webinar banner
  4. Sebastian
    Sebastian avatar
    9934 posts

    Posted 22 Jul 2011 Link to this post

    Hello Nicholas,

    For your scenario consider using the load-on-demand mechanism introduced in the Q2 2011 version of our AJAX TreeList. This should optimize the performance when having many nested levels in the treelist as the items in them will be loaded on-the-fly when the parent items are expanded.

    Kind regards,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top