Skip to main content

FileManagerSettings.CustomErrorText Property

Enables you to provide custom error descriptions.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public FileManagerCustomErrorTextEventHandler CustomErrorText { get; set; }

Property Value

Type Description
FileManagerCustomErrorTextEventHandler

A FileManagerCustomErrorTextEventHandler delegate method allowing you to change the error text.

Remarks

The CustomErrorText event occurs when any exception is raised within the FileManager, 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