Click here to Skip to main content
16,013,605 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey, i am using treeview tool with check boxes in asp.net/vb. i want to read the checked node of tree view than want this to show in message box . i have used treeview1.selectednode.text code but its not working ... plz help
Posted
Updated 15-May-13 19:07pm
v2

1 solution

Try the below code, It will help you...

VB
If TreeView1.CheckedNodes.Count > 0 Then
    For Each node As TreeNode In TreeView1.CheckedNodes
        MessageBox.Show(node.Text.ToString())
    Next
End If
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900