Refreshing a Tree Node

2 posts, 0 answers
  1. Mateen
    Mateen avatar
    8 posts
    Member since:
    Jan 2011

    Posted 10 May 2011 Link to this post

    Hi,
    In my inner loop serviceProvider Object hold the reference of the tree node that i want to refresh. How can i do this.? There apparently isn't any refresh method associated with the tree node ?
    I have the following code in my code behind .
    foreach (RadTreeViewItem serviceProviderList in redemptionTreeView.Items)
                {
                    foreach (RadTreeViewItem serviceProvider in serviceProviderList.Items)
                    {
                        if (serviceProvider.Name.ToString().Contains("/" + serviceProviderID))
                        {
                            
                        }
     
                    }
                }
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 13 May 2011 Link to this post

    Hi Mateen,

    What do you mean by 'refresh'? You can call the UpdateLayout() method of the RadTreeViewItem if you need to ensure that the item and its children are properly updated for layout. If this isn't what you need, can you please elaborate on your scenario a bit more? Thank you in advance.

    Greetings,
    Tina Stancheva
    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
Back to Top