LinqDataSourceView.OnException Method (DynamicValidatorEventArgs)

 

Raises the Exception event when a data operation fails.

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

protected virtual void OnException(
	DynamicValidatorEventArgs e
)

Parameters

e
Type: System.Web.DynamicData.DynamicValidatorEventArgs

The event data.

The dynamic data framework uses the OnException event handler to handle validation exceptions when updating data or inserting data.

.NET Framework
Available since 3.5
Return to top
Show: