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

Get all checked items

3 Answers 181 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Egon Leitgeb
Top achievements
Rank 1
Egon Leitgeb asked on 05 Mar 2013, 10:35 AM
How can I get all the checked items (nodes) in DropDownTree server-side?

3 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 05 Mar 2013, 11:15 AM
Hello Egon,

For all of the checked nodes entries are created. You could access the Entries collection of the control at the server side and get the needed information. Also you could use following server events.

Regards,
Peter Filipov
the Telerik team
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 their blog feed now.
0
Hank
Top achievements
Rank 1
answered on 22 Mar 2013, 02:10 PM
Hello,

This is probably something super simple, but I just can't seem to get it to work. I have a DropdownTree and all I want to do is take the text of the selected node and assign it to a variable. That's it. For the life of me I can't figure out how to do it.

I have tried adding an event handler to the EntryAdded event but when I select a node, the event doesn't trigger. Any help would be greatly appreciated!
0
Hank
Top achievements
Rank 1
answered on 22 Mar 2013, 05:37 PM
Nevermind, I figured it out.

This should probably be added to the library so Intellisense picks it up...

DropdownTree.Entries.Items(0).Text will give you the text of the selected node.
Tags
DropDownTree
Asked by
Egon Leitgeb
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Hank
Top achievements
Rank 1
Share this question
or