Skip to main content

Redirection on a Callback Error

The ASPxHttpHandlerModule allows you to process a callback request on the server side and generate a response if any server error occurs

Name

callbackErrorRedirectUrl

Declaration

<configuration>
    ...
    <devExpress>
        ...
        <errors callbackErrorRedirectUrl="" />
    </devExpress>
    ...
</configuration>

Note

You should register the “DevExpress” section group beforehand to use the DevExpress Web.config section.

This option’s default value is an empty string. Assign a value to this option (for instance as callbackErrorRedirectUrl=”error.html”) to specify the redirection location.

Note

The callbackErrorRedirectUrl property value should contain a subdirectory name (“/{sub-directory}/Home/Error”) if a MVC application’s root URL meets the following conditions:

  • The URL is overridden using the IIS Web Server.
  • The URL contains a subdirectory (for example, “http://localhost/{sub-directory}”).

DevExpress configuration section

Corresponding Class

ErrorsConfigurationSection