This is a migrated thread and some comments may be shown as answers.

Performance problem - 900 total nodes w/ 227 root nodes

2 Answers 35 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
nicholas
Top achievements
Rank 1
nicholas asked on 20 Jul 2011, 02:58 PM
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

aspx.page 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
aspx.page 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 Answers, 1 is accepted

Sort by
0
DR
Top achievements
Rank 1
answered on 22 Jul 2011, 02:47 PM
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).

0
Sebastian
Telerik team
answered on 22 Jul 2011, 02:59 PM
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,
Sebastian
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!

Tags
TreeList
Asked by
nicholas
Top achievements
Rank 1
Answers by
DR
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or