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

[Solved] TreeView selected node problem

1 Answer 58 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
miro mrazik
Top achievements
Rank 1
miro mrazik asked on 21 Jul 2011, 01:55 PM
Greetings,

this question was already asked but I found no answer so I am asking again. Can you please post a sample how could I get selected node in a controller? I can get it with javascript on a client side but I need to work with it in my controller on server side after postback. Is it even possible?

Thank you 
Miro

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 21 Jul 2011, 02:18 PM
Hi Miro,

The TreeView selection is purely visual. In case you require some user interaction with the component involving page reloads, I advise you to use checkboxes:

http://demos.telerik.com/aspnet-mvc/treeview/checkboxsupport

You can use Javascript to ensure only one checkbox is checked, if necessary.

Kind regards,
Dimo
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
TreeView
Asked by
miro mrazik
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or