Hi dharma krovvidi,
I am not sure that I understand your scenario correctly. What do you need to save from the parent node - its header in another collection or database? Can you please elaborate on that a bit more. Also, when you say "selected", do you mean selected or checked?
I prepared a sample project illustrating how you can traverse the RadTreeView itemsSource
collection and check the RadTreeViewItem
's check state and then display the checked/unchecked and indeterminate items in different ListBoxes
However, if your approach requires getting an item's parent, you can use the RadTreeViewItem ParentItem
property that holds the parent node of each item.
Please, take a look at the project and let me know if it helps or if your scenario requires a different approach.
Thank you in advance.
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.