Skip to main content

ASPxSchedulerCustomErrorTextEventArgs.ErrorText Property

Gets or sets the explanatory text for the error.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll

Declaration

public string ErrorText { get; set; }

Property Value

Type Description
String

A string containing the error description.

Remarks

Handle the ASPxScheduler.CustomErrorText event to customize or translate error messages.

The string specified for the ErrorText property value should conform to a specific pattern.

The string message “11,20|HEADER<br/>DETAILED INFORMATION“ will be displayed as shown in the following picture.

CustomErrorText

The pattern of an error text string is described below:

  1. subject length (integer value) - the length of a string displayed as the header of an error message
  2. , - comma to separate values
  3. detail length (integer value) - the length of a string displayed in the detail section
  4. | - a vertical bar that separates length values and the actual string
  5. a string itself that is composed of the subject text and the detail text

We recommend that you utilize the ErrorTextHelper illustrated in our online example E1827 (see the code sample in the ASPxScheduler.CustomErrorText reference article).

See Also