TreeView
Controls Suite 4.5 |
![](/Skins/Menu_Side/LineTop.gif) | Overview |
![](/Skins/Menu_Side/LineMiddle.gif) | Features |
![](/Skins/Menu_Side/Expand.gif) | Reference Book |
![](/Skins/Menu_Side/Collapse.gif) | Live Demos |
| ![](/Skins/Menu_Side/Expand.gif) | Populating with Data |
| ![](/Skins/Menu_Side/Expand.gif) | Appearance |
| ![](/Skins/Menu_Side/Expand.gif) | Behavior |
| ![](/Skins/Menu_Side/Collapse.gif) | Programming |
| ![](/Skins/Menu_Side/Expand.gif) | Application scenarios |
| | ![](/Skins/Menu_Side/LineBottom.gif) | Update Panel |
|
APNSoft TreeView includes a set of properties for client-side events:
- ClientSideOnItemClick - specifies the code to be launched when item is clicked.
To apply a separate client-side code to specific Item, set the item's ClientSideOnItemClick attribute (applied to the Home item in our scenario).
Item's code overrides the component's code.
- ClientSideOnCheck - specifies the code to be launched when an item is checked.
- ClientSideOnUnCheck - specifies the code to be launched when an item is unchecked.
- ClientSideOnExpand - specifies the code to be launched when an item is expanded.
- ClientSideOnCollapse - specifies the code to be launched when an item is collapsed.
Property value can include variables $ComponentID$, $ItemID$ and $Title$.
Each variable is replaced to the corresponding value.
Please click/check/uncheck/expand/collapse any item to launch a client-side code.
The tv.ExpandAll(TreeViewID); client-side method provides a convenient way to open every node in the tree. The tv.CollapseAll(TreeViewID); closes every node.
|