I am using a RadDropDownTree control. And my items look like this:
I want to prevent the user from selecting the parent items. In the above example, that would be the "Statements" and "Other". I want users to be able to only select the children.
Another issue i am having is on child selection, the control does not collapse it's dropdown.
Any idea on how to achieve this?
8 Answers, 1 is accepted
Please have a look into the following code snippet to select only the child nodes of RadDropDownTree. The default behavior of RadDropDowntree is that it will not collapse the DropDown after selecting the Entry. You can explicitly collapse the DropDown by using closeDropDown().
Hope this will helps you.
This is exactly what I needed. Thank you.
You could also access the embedded tree and handle its node clicking event. I am sending you a sample project for a reference.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Nathan's solution is what I came to this thread for, but I reworked it a bit to use functions that are documented and are not considered private.
I am not quite sure about your case. Could you please elaborate a bit? Which type of checkboxes you are using?
Gracias, también eres lo que necesitaba