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
Post a Comment