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

3 posts, 0 answers
  1. Olga
    Olga avatar
    14 posts
    Member since:
    Mar 2011

    Posted 09 May 2011 Link to this post

    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. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 10 May 2011 Link to this post

    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
  3. DevCraft banner
  4. Olga
    Olga avatar
    14 posts
    Member since:
    Mar 2011

    Posted 10 May 2011 Link to this post

    thanks, that helped!
Back to Top