System.Web.UI.WebControls.DetailsViewModeEventArgs.CancelingEdit Property

Gets a value indicating whether the DetailsView.ModeChanging event was raised as a result of the user canceling an edit operation.

Syntax

public bool CancelingEdit { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DetailsView.ModeChanging event is raised when a System.Web.UI.WebControls.DetailsView control attempts to change between edit, insert, and read-only mode, but before the mode actually changes. Use the DetailsViewModeEventArgs.CancelingEdit property to determine whether the DetailsView.ModeChanging event was raised as a result of the user canceling an edit operation. For example, you might want to reset the System.Web.UI.WebControls.DetailsView control whenever the user cancels an edit operation.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0