Skip to main content
A newer version of this page is available. .

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

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=”Default2.aspx”) to specify the redirection location.

Note

MVC-Specific 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

See Also