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

[Solved] Submit form on clicking checkBox in MVC Treeview

0 Answers 46 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.
Greg
Top achievements
Rank 1
Greg asked on 06 Jun 2012, 05:54 AM
Folks
I have a Treeview with checkBoxes.
I wish to submit the form that it belongs to when the user clicks the item node or the checkbox.
I can get it to do this but the node in the "TreeView_checkedNodes" collection on the controller has no values in it.

If I set some nodes as checked before I draw the page, these come back as Checked, with their value.

So how Do I submit the form withe the correct DATA when I select and item node on the treevew or click a Checkbox on the treeview.

I know I can use a button to submit the form, but that is not the behavior my customer wants
Tags
TreeView
Asked by
Greg
Top achievements
Rank 1
Share this question
or