SelectionList.ItemDataBind Event

 

Occurs when an item in the list is bound to data. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public event ListDataBindEventHandler ItemDataBind

When an item in a SelectionList control is created and data-bound, this event handler sets the properties of the list item from arbitrary expressions.

An item in a SelectionList control is of type MobileListItem.

This event is raised as each data source item is bound. This is the best time to filter or group items of the MobileListItemCollection collection, by using the Text or Value property.

.NET Framework
Available since 1.1
Return to top
Show: