KaxListBoxItemDataBound Event |
Occurs when item is data bound.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic event KaxListBoxItemEventHandler ItemDataBound
Public Event ItemDataBound As KaxListBoxItemEventHandler
public:
event KaxListBoxItemEventHandler^ ItemDataBound {
void add (KaxListBoxItemEventHandler^ value);
void remove (KaxListBoxItemEventHandler^ value);
}
member ItemDataBound : IEvent<KaxListBoxItemEventHandler,
KaxListBoxItemEventArgs>
Value
Type:
Kettic.AspNet.ControlsKaxListBoxItemEventHandler
Remarks
Use the ItemDataBound event to set additional properties of the databound items.
Examplesprotected void KaxListBox1_ItemDataBound(object sender, KaxListBoxItemEventArgs e)
{
e.Item.ToolTip = (string)DataBinder.Eval(e.Item.DataItem, "ToolTipColumn");
}
Protected Sub KaxListBox1_ItemDataBound(sender As Object, e As KaxListBoxItemEventArgs)
e.Item.ToolTip = DirectCast(DataBinder.Eval(e.Item.DataItem, "ToolTipColumn"), String)
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also