Hi Rick..!
Thanks.
with a few changes it works..
look
TreeView.GetNodeFromIndex(TreeView.SelectedNodeInd ex.ToString).Text
And in this way I can get the text of the user selected node.
Best Regards.
--
ONil@.
MX.
"rickpayne" <rp****@NOSPAMdigitalbang.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
me.TreeView.GetNodeFromIndex(Me.Treeview.SelectedI ndex).text = "some
value"
"ONIL@" <on***@hotmail.com> wrote in message
news:uP**************@tk2msftngp13.phx.gbl... I have a treeview in my ASP.NET vb.net application.when someone selects
a node
on the treeview How do I set the node name
myNodeName = TreeView1.Nodes(TreeView1.SelectedNodeIndex).Text
The above code only gave me the value of the parent Node
Any and all help would be greatly appreciated!!!!
--
ONil@.
MX.