GridBatchEditSettings.AllowEndEditOnValidationError Property
Specifies whether an editor can lose focus when validation fails.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
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 |
|
BootstrapGridViewEditingSettings |
|
|
ASP.NET Web Forms Controls | ASPxCardViewEditingSettings |
|
ASPxGridViewEditingSettings |
|
|
TreeListSettingsEditing |
|
|
ASPxVerticalGridEditingSettings |
|
|
MVCxCardViewEditingSettings |
|
|
MVCxGridViewEditingSettings |
|
|
MVCxTreeListSettingsEditing |
|
|
MVCxVerticalGridEditingSettings |
|
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