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