Skip to main content
Tab

GridBatchEditSettings.AllowEndEditOnValidationError Property

Specifies whether an editor can lose focus when validation fails.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

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.

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