I have a TreeListView with a large number of nodes (800+) nested 3 or 5 deep. When I call the ExpandAll method of the TreeListView the expansion can take several minutes. I there a way to cause the items of the TreeListView to be built during idle time?
3 Answers, 1 is accepted
0
Stefan Dobrev
Telerik team
answered on 15 Jun 2010, 10:55 AM
Hello John,
We have just released a beta version of our new TreeListView control based on GridView. It contains significant performance improvements over the its predecessor, which was based on our TreeView implementation. Can you please upgrade your project to use the new component and check the expand speed? You can use ExpandHierarchyItem and ExpandAllHierarchyItems methods to expand the hierarchy. Also you can check the updated version of our online example here.
Sincerely yours,
Stefan Dobrev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.
Thanks. I got it working using the two methods you cited and some additional coding.
What would be nice is if I could expand an item and also have the parents expand or better yet set the SelectedItem and have its parents expand. My application does this via walking down the hierarcy and expanding each parent and invoking the UpdateLayout method until I reach the item I want selected.
0
Stefan Dobrev
Telerik team
answered on 18 Jun 2010, 02:34 PM
Hi John,
We will definitely handle this scenario in the official version of the control so when you expand an item all its parents will be expanded as well. Thanks for your feedback. It is greatly appreciated.
Kind regards,
Stefan Dobrev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items