|
-
February 16th, 2009, 02:04 AM
#1
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?
Last edited by pu8y; February 16th, 2009 at 02:12 AM.
-
February 16th, 2009, 04:11 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|