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

Clear selected item of RadTreeListView

1 Answer 138 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Ahmed
Top achievements
Rank 1
Ahmed asked on 21 Sep 2015, 08:19 AM

Hey,

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.

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 23 Sep 2015, 02:18 PM
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.

Regards,
Yoan
Telerik
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
Tags
TreeListView
Asked by
Ahmed
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or