System.Web.UI.WebControls.FormViewInsertedEventArgs.KeepInInsertMode Property

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

Syntax

public bool KeepInInsertMode { 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. Use the FormViewInsertedEventArgs.KeepInInsertMode property to specify whether the System.Web.UI.WebControls.FormView control should remain in insert mode after an insert operation. To keep the System.Web.UI.WebControls.FormView control in insert 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 insert 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