Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
Is it poosible to add Child and Parent node with same name?
posted

 Hi,

I want to add Child and Parent node in the same name(e.g Node1). It is giving exception as key already exist.

UltraTreeNode parentNode= new  UltraTreeNode("Node1");

 UltraTreeNode childNode= new  UltraTreeNode("Node1");

 parentNode.Nodes.Add( childNode);

Only name(key) is same as Parent and Child node, and it throws exception. 

Could you please let me know to add Child node with same name.