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

Help please...

Thread ID:

Created:

Updated:

Platform:

Replies:

43032 Apr 12,2006 10:30 AM UTC Jun 6,2006 10:50 AM UTC Windows Forms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On April 12, 2006 10:30 AM UTC

Hi, I allow the user to add the nodes programatically and I also want to force the user to give new name for the added nodes. I have added the nodes but I am not able to accomplish the later requirement i.e., forcing the user to give new name to the added nodes. Please help me to sort out this problem. Thanks and Regards, Carl

Deepa TS [Syncfusion]
Replied On April 12, 2006 12:50 PM UTC

Hi Carl, The TreeViewAdv BeginEdit method plays an important role in forcing the user to give a new name for the nodes that are added programmatically. Code: private void button1_Click(object sender, System.EventArgs e) { TreeNodeAdv node=new TreeNodeAdv(); node.Text="Child"; this.treeViewAdv1.Nodes[0].Nodes.Add(node); this.treeViewAdv1.SelectedNode=node; //Force the user to edit the node after adding this.treeViewAdv1.BeginEdit(); } Please take a look at the attached sample and let me know if this helps you. Thanks for your interest in Syncfusion products. Regards, Deepa.

ForceEditNode.zip

Administrator [Syncfusion]
Replied On June 6, 2006 10:50 AM UTC

Begin edit method worked Deepa. Thanks

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

;