You need to set the HideSelection property of the TreeView to false and call:
[C#]
//Select the first node
this.treeView1.SelectedNode = this.treeView1.Nodes[0];
[VB.NET]
’Select the first node
Me.treeView1.SelectedNode = Me.treeView1.Nodes(0)
You need to set the HideSelection property of the TreeView to false and call:
[C#]
//Select the first node
this.treeView1.SelectedNode = this.treeView1.Nodes[0];
[VB.NET]
’Select the first node
Me.treeView1.SelectedNode = Me.treeView1.Nodes(0)
Fax: +1 919.573.0306
US: +1 919.481.1974
UK: +44 20 7084 6215
Toll Free (USA):
1-888-9DOTNET
Share with