|
Customize Root Node
|
Show/hide icon and the [+]
|
 | | ASPTreeView Root |
oTree.ShowRootIcon = True
|
 | | ASPTreeView Root |
oTree.ShowRootIcon = False
|
|
 | | ASPTreeView Root |
oTree.ShowRootPlusMinus = True
|
 | | ASPTreeView Root |
oTree.ShowRootPlusMinus = False
|
|
| | |
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);
| | |
| "Thank you very very much, I have to say your support is the best." |
Guido Helmers |
|
| | |
|