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

How to get the selected node?

0 Answers 67 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.
Linus
Top achievements
Rank 1
Linus asked on 18 May 2011, 10:23 AM
Hi,

I am new to the TreeView and am trying to figure out if it can do what I want to accomplish.

I have successfully created a treeview of my data structure. Now I want the user to be able to add nodes to the tree. I guess I want the user to select a node and enter the child node name in a textbox. And then have the textbox contents and selected node posted back to the controller where I add it to the model and then refresh the treeview.

I am using MVC3/Razor. I have searched this forum but can only find examples with the checkboxes and that doesn't help me.

Thanks.
Linus
Tags
TreeView
Asked by
Linus
Top achievements
Rank 1
Share this question
or