TreeNode.Select method

TreeNode.Select method

Post by Y2RtY2R » Thu, 02 Mar 2006 17:49:27


Hi,
i'm trying to use the TreNode.Select within a Visual Basic 2005 Express
edition form. The online help documented remarks the method to be new in the
.NET Framework 2.0. Rigth one installed with Visual Basic 2005 Express. The
problem is that the method is not recognized, detecting the building time
error: 'Selected' is not a member of 'System.Windows.Forms.TreeNode'.
Anyone noticed this error and found a solution?
Thanks
 
 
 

TreeNode.Select method

Post by Claes Berg » Fri, 03 Mar 2006 00:34:10

TreeNode.Selected is not part of Windows Forms, it's part of Web Forms
Use TreeView.SelectedNode instead

/claes