System.Web.UI.WebControls.DetailsViewUpdatedEventArgs.KeepInEditMode Property

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

Note:

This property should be used if you want to override the default mode at a specific occasion. If the System.Web.UI.WebControls.DetailsView control needs to remain in edit 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