System.Web.UI.WebControls.FormViewModeEventArgs.CancelingEdit Property

Gets a value indicating whether the FormView.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 FormView.ModeChanging event is raised when a System.Web.UI.WebControls.FormView control attempts to switch between edit, insert, and read-only mode, but before the mode actually changes. Use the FormViewModeEventArgs.CancelingEdit property to determine whether the FormView.ModeChanging event was raised as a result of the user canceling an edit or insert operation. For example, you might want to reset the System.Web.UI.WebControls.FormView 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