Back to Devexpress

DateEditRangeSettings.ErrorTextDecadesPlaceholder Property

aspnet-devexpress-dot-web-dot-dateeditrangesettings-a05e602c.md

latest2.5 KB
Original Source

DateEditRangeSettings.ErrorTextDecadesPlaceholder Property

Gets or sets a value that specifies the text that will be displayed instead of the word ‘decades’ in the editor’s error text.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("decades")]
public string ErrorTextDecadesPlaceholder { get; set; }
vb
<DefaultValue("decades")>
Public Property ErrorTextDecadesPlaceholder As String

Property Value

TypeDefaultDescription
String"decades"

A string value that specifies the text.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ErrorTextDecadesPlaceholder
ASPxDateEdit

.DateRangeSettings .ErrorTextDecadesPlaceholder

| | DateEditProperties |

.DateRangeSettings .ErrorTextDecadesPlaceholder

|

Remarks

Use the ErrorTextDecadesPlaceholder property to specify the text that will be displayed instead of the word ‘decades’ in the editor’s error texts: DateEditRangeSettings.MinErrorText, DateRangeAttribute.MinErrorText.

Default templates are:

  • “The date range must be greater than or equal to {0} {1}.”

  • “The date range must be from {0} to {1} {2}”. ({2} represents days/month/years/decades)

Note

The ErrorTextDecadesPlaceholder property is in effect if the ASPxCalendar.PickerType/ASPxDateEdit.PickerType property is set to DatePickerType.Decades.

See Also

DateEditRangeSettings Class

DateEditRangeSettings Members

DevExpress.Web Namespace