I've got a TreeView built up manually in code-behind by looping recursively through a custom XML document. Basically for each node in my XML document I create a new TreeView node and add it to the TreeView node collection, hierarchically. This works fine.
Clientside, I use a contextmenu to offer functionality to the user to build up the TreeView. One of those functions is called "Add a Subnode". What happens basically when clicking that function is a postback to the server where I create a new XML node in my custom document, at the right position based on the parameters and then reload the TreeView by calling the recursive function. This works fine.
var tree= $find("<%= RadTreeView1.ClientID %>");
var node = tree.findNodeByValue(nodeValue);
Isn't there an easier way to do this? Can't I set a property of a RadTreeNode which puts the node in Edit mode, the same way the property "Selected" works?