We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeNodeAdv editable by typing

Thread ID:

Created:

Updated:

Platform:

Replies:

39511 Jan 10,2006 09:43 AM Jun 6,2006 07:42 AM Windows Forms 5
loading
Tags: Tools
Gordan Redzic
Asked On January 10, 2006 09:43 AM

I have a tree where I will let the user create new nodes. When the user first sees the GUI there will be a folder with a single node in it with the text "". When the user single clicks the node they can edit that node. Once they leave focus of that node another node is added to the tree with the "" text and it is highlighted (selected node). Now, the user can then again use the mouse to one-click the node and edit the node text. BUT, I want the user to just be able to start typing to edit the text. This way the user can just edit each new node with the keyboard and not have to use the mouse. How can I accomplish this? Thanks, Rich

Administrator [Syncfusion]
Replied On January 11, 2006 04:11 PM

Hi Rich, Yes, this can be done in our TreeViewAdv control. Please refer to the test sample attached that illustrates the same. Note that the TreeViewAdv''s LabelEdit property needs to be set to true to be able to edit TreeNodeAdv''s text. Also, it is possible to make a node editable by pressing the F2 key. The node can be validated after editing using the Tab key. Let me know if you need any other information. Thanks for your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On January 12, 2006 12:01 PM

Hi Guru, The example does not do what I want. You still have to either, select the node with the mouse or use the F2 key to edit the node text. I want the user to just start typing to edit the node''s text (when a node is selected). >Hi Rich, > >Yes, this can be done in our TreeViewAdv control. Please refer to the test sample attached that illustrates the same. Note that the TreeViewAdv''s LabelEdit property needs to be set to true to be able to edit TreeNodeAdv''s text. > >Also, it is possible to make a node editable by pressing the F2 key. The node can be validated after editing using the Tab key. Let me know if you need any other information. Thanks for your interest in Syncfusion products. > >Regards, >Guru Patwal >Syncfusion, Inc.

Administrator [Syncfusion]
Replied On January 14, 2006 10:18 PM

Hi Rich, Thanks for the clarification. I understand your requirements better now. Please refer to the modified test sample attached that illustrates the same, and let me know if this meets your requirements. You would have to press the Tab key to signal the end of node editing. However, there seems to be couple of issues with the TreeViewAdv. The node editing textbox seems to be wrongly positioned and the TreeViewAdv fires the NodeEditorValidated event twice when validated using the mouse. It works fine when Tab key is used for this purpose. We have logged the following bug reports in this regard, and will try our very best to take care of them at the earliest. Defect #1382 - NodeEditorValidated event gets fired twice when validated using the mouse Defect #1383 - Node editor textbox positioned wrongly in the TreeViewAdv We appreciate your patience and thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Deepa TS [Syncfusion]
Replied On March 14, 2006 02:07 AM

Hi Rich, We are glad to inform you that the #1383 bug has been fixed internally in the patch v4.1.0.62.Here is the download details. Please upgrade to Essential Suite v4.1.0.62 from the forum link below. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=41784 Let me know if you need further assistance.We appreciate your interest in Syncfusion products. Regards, Deepa

Deepa TS [Syncfusion]
Replied On June 6, 2006 07:42 AM

Hi Rich, The fix for Defect #1382 - NodeEditorValidated event gets fired twice when validated using the mouse issue has been included in our Finalrelease of v.4.2(v.4.2.0.37). And you can download the same from the following link: 4.2V FinalRelease Let me know if you need any further assistance. Thanks for your interest in Essential Tools. Regards, Deepa

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;