System.Web.UI.WebControls.DetailsViewInsertedEventArgs.KeepInInsertMode Property

Gets or sets a value indicating whether the System.Web.UI.WebControls.DetailsView 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.DetailsView control returns to the mode specified by the DetailsView.DefaultMode property. Use the DetailsViewInsertedEventArgs.KeepInInsertMode property to specify whether the System.Web.UI.WebControls.DetailsView control should remain in insert mode after an insert operation. To keep the System.Web.UI.WebControls.DetailsView control in insert mode, set this property to true.

Note:

This property should be used when you want to want to override the default mode only occasionally. If the System.Web.UI.WebControls.DetailsView control needs to remain in insert mode by default, set the DetailsView.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