System.Web.UI.WebControls.FormViewUpdatedEventArgs.KeepInEditMode Property

Gets or sets a value indicating whether the System.Web.UI.WebControls.FormView control should remain in edit mode after an update operation.

Syntax

public bool KeepInEditMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, the System.Web.UI.WebControls.FormView control returns to the mode specified by the FormView.DefaultMode property after an update operation. Use the FormViewUpdatedEventArgs.KeepInEditMode property to specify whether the System.Web.UI.WebControls.FormView control should remain in edit mode. To keep the System.Web.UI.WebControls.FormView control in edit mode, set this property to true.

Note:

This property should be used only when a situation occurs (such as an exception being raised) that requires the control to behave differently than it normally would. If the System.Web.UI.WebControls.FormView control needs to remain in edit mode by default, set the FormView.DefaultMode property instead.

Requirements

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