OnDataBinding Method

ObjectList.OnDataBinding Method (EventArgs)

 

Raises the DataBinding event. 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)

protected override void OnDataBinding(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

An EventArgs object that contains the event data.

Exception Condition
Exception

the data source provided no data to bind to.

This method notifies a server control to perform any logic for binding data that is associated with it.

If you want to handle the DataBinding event, you should override this event-handling method. This ensures that all delegates attached to the DataBinding event are invoked.

.NET Framework
Available since 1.1

ItemCommand
ObjectList Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Introduction to the ObjectList Control

Return to top
Show:
© 2016 Microsoft