Skip to main content

MVCxValidationSettings.ErrorDisplayMode Property

This property is not in effect for the MVCxValidationSettings class.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

[DefaultValue(ErrorDisplayMode.ImageWithTooltip)]
public override ErrorDisplayMode ErrorDisplayMode { get; set; }

Property Value

Type Default
ErrorDisplayMode ImageWithTooltip

Available values:

Name Description
Text

An error message is represented by text only.

ASPxEditors_Text

ImageWithTooltip

An error message is represented by an error image. The image’s tooltip displays an error text. If an assigned error image is incorrect, an error message is represented by an error text directly.

ASPxEditors_ImageWithTooltip

ImageWithText

An error message is represented by both an error image and error text.

ASPxEditors_ ImageWithText

None

No error message is displayed, a specific error frame is displayed near the editor instead.

ASPxEditors_None

Property Paths

You can access this nested property as listed below:

Show 48 property paths
Object Type Path to ErrorDisplayMode
MVCxButtonEdit
.ValidationSettings .ErrorDisplayMode
MVCxButtonEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxCalendar
.ValidationSettings .ErrorDisplayMode
MVCxCalendarProperties
.ValidationSettings .ErrorDisplayMode
MVCxCheckBox
.ValidationSettings .ErrorDisplayMode
MVCxCheckBoxList
.ValidationSettings .ErrorDisplayMode
MVCxCheckBoxListProperties
.ValidationSettings .ErrorDisplayMode
MVCxCheckBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxColorEdit
.ValidationSettings .ErrorDisplayMode
MVCxColorEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnButtonEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnCheckBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnColorEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnComboBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnDateEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnDropDownEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnMemoProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnSpinEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnTextBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnTimeEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxColumnTokenBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxComboBox
.ValidationSettings .ErrorDisplayMode
MVCxComboBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxDateEdit
.ValidationSettings .ErrorDisplayMode
MVCxDateEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxDropDownEdit
.ValidationSettings .ErrorDisplayMode
MVCxDropDownEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxListBox
.ValidationSettings .ErrorDisplayMode
MVCxListBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxMemo
.ValidationSettings .ErrorDisplayMode
MVCxMemoProperties
.ValidationSettings .ErrorDisplayMode
MVCxRadioButton
.ValidationSettings .ErrorDisplayMode
MVCxRadioButtonList
.ValidationSettings .ErrorDisplayMode
MVCxRadioButtonListProperties
.ValidationSettings .ErrorDisplayMode
MVCxRadioButtonProperties
.ValidationSettings .ErrorDisplayMode
MVCxRibbonComboBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxSpinEdit
.ValidationSettings .ErrorDisplayMode
MVCxSpinEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxTextBox
.ValidationSettings .ErrorDisplayMode
MVCxTextBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxTimeEdit
.ValidationSettings .ErrorDisplayMode
MVCxTimeEditProperties
.ValidationSettings .ErrorDisplayMode
MVCxTokenBox
.ValidationSettings .ErrorDisplayMode
MVCxTokenBoxProperties
.ValidationSettings .ErrorDisplayMode
MVCxTrackBar
.ValidationSettings .ErrorDisplayMode
MVCxTrackBarProperties
.ValidationSettings .ErrorDisplayMode
MVCxValidationEdit
.ValidationSettings .ErrorDisplayMode
MVCxValidationEditProperties
.ValidationSettings .ErrorDisplayMode

Remarks

The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio designer tools.

Note

We recommend that you use the Model Validation validation approach instead.

See Also