ListDataBindEventHandler Delegate


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Note: This API is now obsolete.

Represents the method that handles the ItemDataBind event of a List control. For information about how to develop ASP.NET mobile applications, see the Web site.

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

[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see")]
public delegate void ListDataBindEventHandler(
	object sender,
	ListDataBindEventArgs e


Type: System.Object

The source of the event, a List.

Type: System.Web.UI.MobileControls.ListDataBindEventArgs

A ListDataBindEventArgs that contains the event data.

A List control contains a collection of items. These items are of the MobileListItem class. When providing default rendering, the List control represents a MobileListItem object using its Text property. In templated rendering, the template can render any desired property of a MobileListItem object or associated data-bound object.

When you create a ListDataBindEventHandler delegate for a List control, you identify the method that handles the event. The List control notifies the handler when an item event is generated. To associate the event with your event handler, add an instance of the delegate to the event. Unless you remove the delegate, the event handler is called whenever the event occurs.

.NET Framework
Available since 1.1

System.Web.UI.MobileControls Namespace
Accessing Data Using Listing Controls
Introduction to the List Control

Return to top