Using Root node
ID of the Root node is created from ID of the TreeView with the "
root_" prefix.
Example:
oTree.ID = "tree123"; -> Root ID =
root_tree123
The default root node ID is:
root_tree1
Selecting the root node
-
Server-Side: oTree.SelectedId = "root_tree1";
-
Client-Side: ob_t26("root_tree1");
Adding children to the Root node
-
Server-Side: oTree.Add("root", child_id, nodeHtml, expanded, icon, subtree_url);
-
Client-Side: ob_t2_Add("root_tree1", child_id, nodeHtml, expanded, icon, subtree_url);