asp.net - How to insert a Root Node in Tererik RadTreeView? -


i have radtreeview telerik control working great me drag/drop, add, rename , delete functionalities. want insert root node cannot updated/rename , deleted.

try add root node in treeview.

protected void page_load(object sender, eventargs e)     {         tree1.databind();         radtreenode root = new radtreenode("root");         while (tree1.nodes.count > 0)         {             root.nodes.add(tree1.nodes[0]);         }        tree1.nodes.add(root);     } 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -