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

Determine items selected within a parent node

1 Answer 117 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Allan
Top achievements
Rank 1
Allan asked on 15 Aug 2013, 03:14 PM
Currently, we are using the RadDropDownTree to select filter criteria which is applied to data below.  At the moment we count the number of items within the control and compare it to the total number of selected items, if they match we display 'All' within our custom filter text, otherwise we display the RadDropDownTree.SelectedText.

What we need to do is something similar for each parent item listed within the control (so if all child items for a specific parent item are selected we would only display the parent name).  Is there any way to achieve this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter Filipov
Telerik team
answered on 20 Aug 2013, 08:21 AM
Hi Allan,

Here is a help article how to access the embedded tree of the RadDropDownTree control. You could get its nodes collection and achieve your scenario.

Regards,
Peter Filipov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
DropDownTree
Asked by
Allan
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or