Click or drag to resize
KaxToolBarItemCreated Event
Occurs when a toolbar item 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 KaxToolBarEventHandler ItemCreated

Value

Type: Kettic.AspNet.ControlsKaxToolBarEventHandler
Remarks
The ItemCreated event is raised when an item in the KaxToolBar control is created, both during round-trips and at the time data is bound to the control. The ItemCreated event is not raised for items which are defined inline in the page or user control.

The ItemCreated event is commonly used to initialize item properties.

Examples
The following example demonstrates how to use the ItemCreated event to set the ToolTip property of each item.
protected void KaxToolBar1_ItemCreated(object sender, Kettic.AspNet.Controls.KaxToolBarEventArgs e)
{
    e.Item.ToolTip = e.Item.Text;
}
See Also