LinqDataSourceView.Deleting Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs before a delete operation.
public:
event EventHandler<System::Web::UI::WebControls::LinqDataSourceDeleteEventArgs ^> ^ Deleting;
public event EventHandler<System.Web.UI.WebControls.LinqDataSourceDeleteEventArgs> Deleting;
member this.Deleting : EventHandler<System.Web.UI.WebControls.LinqDataSourceDeleteEventArgs>
Public Custom Event Deleting As EventHandler(Of LinqDataSourceDeleteEventArgs)
Event Type
Remarks
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.