Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Jan 23, 2007 02:26 PM|LINK
It depends on what basis you have to find the node, if you know the ValuePath of the node then you can use FindNode like this -
node.Selected = true;
else if you want to select a node on the basis of node text, then you will have to iterate through the Treeviews NodesCollection and match on the basis of text and then select the matching node. If you need to do like this then i can provide the function
else if you know the index of your node then you can do like this
Similar to what Mikael said(but I think that will not work as TreeView.SelectedNode is only a Get property)
Hope it helps.....