Clear selected item of RadTreeListView

2 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    2 posts
    Member since:
    Nov 2011

    Posted 21 Sep 2015 Link to this post


    I have RadTreeListView named ItemsTree and i have another RadTreeListView named ChildItemsTree, the ChildItemsTree is inside the RowDetailsTemplate of ItemsTree, when the user selects an item from the ChildItemsTree i noticed that the selected item of ItemsTree does not clear. what i want to do is to clear the selected items of ItemsTree when the user selects an item from the ChildItemsTree​ and vice versa.

    Thanks in advance.

  2. Yoan
    Yoan avatar
    1051 posts

    Posted 23 Sep 2015 Link to this post

    Hi Ahmed,

    You can use the SelectionChanging event and check if it is raised for the child. Then you can remove the selected item from SelectedItems collection of the parent. You can check the Programmatic Selection help article for a reference.

    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top