Skip to main content

GridBatchEditSettings.AllowEndEditOnValidationError Property

Specifies whether an editor can lose focus when validation fails.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public bool AllowEndEditOnValidationError { get; set; }

Property Value

Type Default Description
Boolean true

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


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.


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

See Also