onnodebound Event
Fires when a TreeView or TreeNode finishes data binding.
Syntax
Inline HTML <TREEVIEW onnodebound = "handler" ... > All platforms Event property TREEVIEW.onnodebound = handler Microsoft JScript only TREEVIEW.onnodebound = GetRef("handler") Microsoft Visual Basic Scripting Edition (VBScript) 5.0 or later only Named script < SCRIPT FOR
= TREEVIEWEVENT
= onnodebound>Internet Explorer only
Event Information
Bubbles No Cancels Yes To invoke Data is ready. Default action Calls the associated event handler if there is one.
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query the rid not found (_inet_event_Object). object for the following event properties.
Available Properties
treeNodeIndex Refer to the specific event object for additional event properties.
Remarks
Attach this event to the TreeView; you can then determine the index of the TreeNode that has received the event using the treeNodeIndex. If the data was bound to the TreeView, the treeNodeIndex returns NULL.
The reason property of this event returns
0
if the data binding is successful; it returns2
if the data binding fails.
Applies To
TREEVIEW
See Also
Internet Explorer WebControls, About the TreeView WebControl