Skip to main content
Tab

ASPxFileManager.CustomErrorText Event

Enables you to provide custom error descriptions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event FileManagerCustomErrorTextEventHandler CustomErrorText

Event Data

The CustomErrorText event's data class is FileManagerCustomErrorTextEventArgs. The following properties provide information specific to this event:

Property Description
ErrorText Gets or sets the error text.
Exception Gets the raised exception.

Remarks

The CustomErrorText event occurs when any exception is raised within the ASPxFileManager, and allows you to change the error text displayed by default. This can be useful, if you want to localize error messages.

Use the FileManagerCustomErrorTextEventArgs.ErrorText property of the event’s arguments object to specify the error text for the exception returned by the FileManagerCustomErrorTextEventArgs.Exception property.

See Also