Export (0) Print
Expand All

DataBoundControl::CallingDataMethods Event

.NET Framework 4.6 and 4.5

Occurs when data methods are being called.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
 event CallingDataMethodsEventHandler^ CallingDataMethods {
	void add (CallingDataMethodsEventHandler^ value);
	void remove (CallingDataMethodsEventHandler^ value);
}

The purpose of this event is to give you an opportunity to specify that the data methods to be called are on a different object than the Page object.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft