text: TreeViewAdv: how do I programmatically set an active tree node in labeledit mode? | WinForms Forums | Syncfusion
  TreeViewAdv: how do I programmatically set an active tree node in labeledit mode?
  36744 Nov 9,2005 12:03 PM UTC Nov 10,2005 05:46 AM UTC WinForms 3
  Asked On November 9, 2005 12:03 PM UTC
  Hi, I am aware that you can click on a tree label or press F2 and edit it. However, I''d like to be able to do something like Right-Click on the node and select Rename and then be in editing mode. Please can you tell me what call I can make to the tree to put the active node in edit mode or how I can achieve this. Thanks!
  Replied On November 9, 2005 02:02 PM UTC
  Hi Jessy, The following code snippet will indicate the node on which the user do a right-mouse down and helps in indicating the node which is been edited. this.rightMouseDownNodeCached=this.treeViewAdv1.RMouseDownNode; Console.WriteLine(rightMouseDownNodeCached.Text); Please take a look at this sample. http://www.syncfusion.com/Support/user/uploads/right click edit_ba3e9eb7.zip And let me know if this meets your requirement. Thanks for your interest in Syncfusion products. Thanks for your patience. Regards, Deepa.T.S
  Replied On November 9, 2005 02:19 PM UTC
  Hi Deepa, Thanks for the quick reply. I''m not too concerned about finding the active node at present but would like to know how to set it into edit mode. The right click was an example. I will also want to have a menu item command that would set the active node into edit/rename mode. Thanks, -- Jessy