Tab
A newer version of this page is available. Switch to the current version.

ValidationSettings.SetFocusOnError Property

Gets or sets a value that specifies whether focus is set to the editor when validation fails.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(false)]
public bool SetFocusOnError { get; set; }
<DefaultValue(False)>
Public Property SetFocusOnError As Boolean

Property Value

Type Default Description
Boolean

false

true to set focus on the editor when validation fails; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 255 property paths
Library Object Type Path to SetFocusOnError
ASP.NET Controls and MVC Extensions ASPxAutoCompleteBoxBase
.ValidationSettings.SetFocusOnError
ASPxBinaryImage
.ValidationSettings.SetFocusOnError
ASPxBinaryImage
.ValidationSettings.SetFocusOnError
ASPxButtonEdit
.ValidationSettings.SetFocusOnError
ASPxButtonEditBase
.ValidationSettings.SetFocusOnError
ASPxCalendar
.ValidationSettings.SetFocusOnError
ASPxCheckBox
.ValidationSettings.SetFocusOnError
ASPxCheckBoxList
.ValidationSettings.SetFocusOnError
ASPxCheckListBase
.ValidationSettings.SetFocusOnError
ASPxColorEdit
.ValidationSettings.SetFocusOnError
ASPxComboBox
.ValidationSettings.SetFocusOnError
ASPxDateEdit
.ValidationSettings.SetFocusOnError
ASPxDropDownEdit
.ValidationSettings.SetFocusOnError
ASPxDropDownEditBase
.ValidationSettings.SetFocusOnError
ASPxEdit
.ValidationSettings.SetFocusOnError
ASPxGridLookup