Get the checked nodes in Tree View in asp.Net
Hi all,
I created a tree view in asp.net and i use vb.net to bind the tree with me database.
My tree is a 3-layer tree as below:
Root
-sub-parent1
-sub-parent2
Each nodes will have a checkbox before them by using showcheckboxes=all. I want to get the event that when my checkbox is checked, I can get which is check so that other related information will be displayed in other panel. How can i make it? Since i tried the event for treeview in vb.net, there are :
- TreeView1.SelectedNodeChanged
- TreeView1.TreeNodeCheckChanged
- TreeNodeCollapsed
- etc...
But none of them can get the change. Any hints for me?
Re: Get the checked nodes in Tree View in asp.Net
Just to add,
If I add a Button, then i can call a function which i can see those checked nodes via TreeView1.CheckedNodes. However what i wanted to have is "real-time", mean user check on the checkbox, i can straight away get the value.