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

Use A Radtreeview as a online test

1 Answer 44 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 29 Sep 2010, 04:37 PM
I would like to use a radtreeview as a Question and Answer List the parent is the question and the child nodes are the answers to the question. I need only one child node checkable under each parent node Anyone have an idea of how to make this happen. Attached is a screenshot of the treeview.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Sep 2010, 07:16 AM
Hello Robert,

Attach the "OnClientNodeChecking" event to RadTreeView and check for whether a node is already checked in same level. If yes, either you can cancel the event or uncheck the already checked one using client code. The following documentation will help you to achieve the functionality.

http://www.telerik.com/help/aspnet-ajax/tree_clientprogramming.html
http://www.telerik.com/help/aspnet-ajax/tree_clientradtreeviewobject.html
http://www.telerik.com/help/aspnet-ajax/tree_clientradtreenode.html



-Shinu.
Tags
TreeView
Asked by
Robert
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or