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

Treeview performance when IsLoadOnDemandEnabled="True"

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Rupendra
Top achievements
Rank 1
Rupendra asked on 15 Jun 2011, 10:14 PM
I have a radtreeview and I have it's IsLoadOnDemandEnabled property set to true. I fill in the first level of nodes and then expanding every node fetches more data.

I also have filtering logic where the top level nodes are filtered by the text entered by the user.

I am experiencing long delays when I bind an ObservableCollection<T> to the tree. It is particularly annoying when the user deletes everything from the filter textbox and it takes a second or two to bind the filtered data to the  tree again.

I have checked that the time it takes to filter the collection is insignificant compared to the delay I am talking about.

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 20 Jun 2011, 07:18 PM
Hi Rupendra,

Have you set RadTreeView's IsVirtualizing property to True? If not, give it a try and let me know if it makes a difference. If it doesn't help, could you please send us a sample project reproducing the issue. This way we will be better able to assist you.

Kind regards,
Kiril Stanoev
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
Tags
TreeView
Asked by
Rupendra
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or