Hi Prakash,
While adding child node to a collpased node,the nodes can be expanded by using the following code.It helps to check if the selected node is expanded.If not, it expands the node before editing.
//expands the node before editing
if (this.treeViewAdv1.SelectedNode.Expanded == false)
{
this.treeViewAdv1.SelectedNode.ExpandAll();
}
Please take a look at the attached sample and let me know if this helps you.
Regards,
Deepa.
TreeNodeEdit.zip