ObjectList.ItemDataBind Event
Assembly: System.Web.Mobile (in system.web.mobile.dll)
public: event ObjectListDataBindEventHandler^ ItemDataBind { void add (ObjectListDataBindEventHandler^ value); void remove (ObjectListDataBindEventHandler^ value); }
/** @event */ public void add_ItemDataBind (ObjectListDataBindEventHandler value) /** @event */ public void remove_ItemDataBind (ObjectListDataBindEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
When an item in an ObjectList is created and data-bound, this event handler sets the properties of the list item from arbitrary expressions. An item in an ObjectList control is of type ObjectListItem.
The following code example demonstrates how to use ItemDataBind event. You can use either the ListItem or DataItem property of the ObjectListDataBindEventArgs collection to determine further action. This example is part of a larger example for the ObjectList overview.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.