ASPxSchedulerCustomErrorTextEventArgs.ErrorText Property
Gets or sets the explanatory text for the error.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
Declaration
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.
The pattern of an error text string is described below:
- subject length (integer value) - the length of a string displayed as the header of an error message
- , - comma to separate values
- detail length (integer value) - the length of a string displayed in the detail section
- | - a vertical bar that separates length values and the actual string
- 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