Redigera

Dela via


SelectionList.ItemDataBind Event

Definition

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 Mobile Apps & Sites with ASP.NET.

public:
 event System::Web::UI::MobileControls::ListDataBindEventHandler ^ ItemDataBind;
public event System.Web.UI.MobileControls.ListDataBindEventHandler ItemDataBind;
member this.ItemDataBind : System.Web.UI.MobileControls.ListDataBindEventHandler 
Public Custom Event ItemDataBind As ListDataBindEventHandler 

Event Type

Remarks

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.

Applies to

See also