treeview_checkstatechanging_handler

Client side event handler to be called when the check state of a TreeNode is about to change.

Note: This is a prototype, not a function. You should provide a function that matches this prototype if you wish to handle the corresponding event on the client side. The prototype provides information about the arguments and return value of the function you provide.

Syntax
JavaScript
 treeview_checkstatechanging_handler(treeview, node, oldCheckState, newCheckState)

Parameters

treeview
The TreeView object.
node
The TreeNode object whose check state is about to change.
oldCheckState
The old check state.
Value Remarks
0 Unchecked.
1 Checked.
2 Indeterminate.
newCheckState
The new check state.

Return Value

Returns false to cancel the change.

Remarks

This is a prototype, not a function. You should provide this function if you wish to be notified when the check state of a TreeNode is about to change on the client side. On the server side, you should use ItemCheckStateChanged event.

Return false from this handler to cancel the change.

See Also