| ASPTreeView Control Properties
|
| |
|
<%@ Import Namespace="obout_ASPTreeView_2_NET" %>
Properties - Select node on server side
SelectedId
|
ID of a node to mark selected on load. Optional
oTree.SelectedId = "books"
|
SelectedEnable
|
Set to False to desable script for selecting node. Optional
For example if you have complex HTML code in nodes and don't want to highlight it.
oTree.SelectedEnable = True
|
SelectDisableId
|
List node IDs with commas. These nodes will not be selectable.Optional
oTree.SelectDisableId = "id55,id56,id82"
|
|
|
|
|
Height
|
String with height value. Optional
oTree.Height = "800px"
oTree.Height = "100%"
|
Width
|
String with width value. Optional
oTree.Width = "200px"
|
Width_ScrollWider
|
String with width if you need to add horizontal scrollbar. Optional
Set this property wider than value in property Width.
oTree.Width_ScrollWider = "500px"
|
id
|
Set id of <DIV> element with the whole treeview inside. Default "tree1". Optional
oTree.id = "tree1"
|
ShowIcons
|
When True, image icons will be shown. Optional
oTree.ShowIcons = True
|
|
|
|
|
Properties - Drag and Drop
DragAndDropEnable
|
Boolean. Set True if you need Drag-and-Drop. Optional
oTree.DragAndDropEnable = True
|
DragDisableId
|
List node IDs with commas. These nodes will not drag.Optional
oTree.DragDisableId = "id55,id56,id82"
|
DropDisableId
|
List node IDs with commas. Tree will not drop to these nodes.Optional
oTree.DropDisableId = "id21,id22,id23"
|
|
|
|
|
Properties - Editing
EditNodeEnable
|
Boolean. Set it to true to enable the editing feature for the nodes. Optional
oTree.EditNodeEnable = true
|
EditDisableId
|
Disable the editing for specific nodes. Optional
oTree.EditDisableId = "id81,id82,id83"
|
|
|
|
|
Properties - Debugging
ShowLost
|
Boolean. Set to True and children without parents will be added to the root by default. Optional
oTree.ShowLost = True
|
ShowLostRed
|
Boolean. Set to True to see children nodes added before their parents in red color.Optional
oTree.ShowLostRed = True
|
|
|
|
|
| "The window component is a great piece, nice job!
Much much better than any other." |
Todd Ward |
| Lore Incorporated |
| |
|