Back to Devexpress

ASPxFileManager.CustomErrorText Event

aspnet-devexpress-dot-web-dot-aspxfilemanager-e1d867a4.md

latest2.1 KB
Original Source

ASPxFileManager.CustomErrorText Event

Enables you to provide custom error descriptions.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event FileManagerCustomErrorTextEventHandler CustomErrorText
vb
Public Event CustomErrorText As FileManagerCustomErrorTextEventHandler

Event Data

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

PropertyDescription
ErrorTextGets or sets the error text.
ExceptionGets 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

File Manager

Custom Error Text for Callback Exception

ASPxFileManager Class

ASPxFileManager Members

DevExpress.Web Namespace