Tab

GridBatchEditSettings.AllowEndEditOnValidationError Property

Specifies whether an editor can lose focus when validation fails.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

[DefaultValue(true)]
public bool AllowEndEditOnValidationError { get; set; }

Property Value

Type Default Description
Boolean

true

true, to allow editing to end when validation fails; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowEndEditOnValidationError
ASP.NET Bootstrap Controls BootstrapCardViewEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError
BootstrapGridViewEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError
ASP.NET MVC Extensions MVCxCardViewEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError
MVCxGridViewEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError
MVCxTreeListSettingsEditing
.BatchEditSettings.AllowEndEditOnValidationError
MVCxVerticalGridEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError
ASP.NET Web Forms Controls ASPxCardViewEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError
ASPxGridViewEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError
TreeListSettingsEditing
.BatchEditSettings.AllowEndEditOnValidationError
ASPxVerticalGridEditingSettings
.BatchEditSettings.AllowEndEditOnValidationError

Remarks

Set the AllowEndEditOnValidationError property to false to prohibit editing from completing if the editor value fails validation. In this case, the editor is focused until a correct value is entered.

Note

The AllowEndEditOnValidationError property is in effect if the GridBatchEditSettings.AllowValidationOnEndEdit property is set to true.

See Also