oncheck Event

Fires on the tree when a node's check box is clicked.

Syntax

Inline HTML <TREEVIEW oncheck = "handler" ... > All platforms
Event property TREEVIEW.oncheck = handler Microsoft JScript only
TREEVIEW.oncheck = GetRef("handler") Microsoft Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = TREEVIEW EVENT = oncheck> Internet Explorer only

Event Object Properties

Available Properties

Node

Refer to the specific event object for additional event properties.

Remarks

The Node property, which is available when this event fires, retrieves the index of the TreeNode that received the event.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl