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

How to know when items are finished loading into the tree?

2 Answers 27 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Olga
Top achievements
Rank 1
Olga asked on 09 May 2011, 10:38 PM
Hello,

How do I know when items are done loading into the tree?

I have:

TreeListView.ItemsSource = treeViewModel.Items;


How do I know when

TreeListView.HasItems == true?

Even when there are items in treeViewModel, it does not mean that there are items in TreeListView. It seems to take awhile for TreeListView.HasItems to become true. How do I know when it's done so that I could to fire an event?

Thanks,
Olga

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 10 May 2011, 08:32 AM
Hello Olga,

 

You may try to use the DataLoaded event where you may check whether the RadTreeListView has items. 
I recommend you to take a look at the following forum thread for further info.


Best wishes,
Vanya Pavlova
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
0
Olga
Top achievements
Rank 1
answered on 10 May 2011, 07:18 PM
thanks, that helped!
Tags
TreeListView
Asked by
Olga
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Olga
Top achievements
Rank 1
Share this question
or