LinqDataSourceView.Deleting Event


Occurs before a delete operation.

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

public event EventHandler<LinqDataSourceDeleteEventArgs> Deleting

Handle the Deleting event to validate the object to be deleted, to change a value before the delete operation, or to cancel the delete operation.

For more information, see the LinqDataSource.Deleting event.

.NET Framework
Available since 3.5
Return to top