Click or drag to resize
KaxTreeViewNodeCreated Event
Occurs when a node is created.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public event KaxTreeViewEventHandler NodeCreated

Value

Type: Kettic.AspNet.ControlsKaxTreeViewEventHandler
Remarks
The NodeCreated event is raised when an node in the KaxTreeView control is created, both during round-trips and at the time data is bound to the control. The NodeCreated event is not raised for nodes which are defined inline in the page or user control.

The NodeCreated event is commonly used to initialize node properties.

Examples
The following example demonstrates how to use the NodeCreated event to set the ToolTip property of each node.
protected void KaxTreeView1_NodeCreated(object sender, Kettic.AspNet.Controls.KaxTreeNodeEventArgs e)
{
    e.Node.ToolTip = e.Node.Text;
}
See Also