Skip to main content

Redirection on a Callback Error

When any server error occurs during server-side callback processing, ASPxHttpHandlerModule prevents an application from remaining pending, by composing and sending a specific response to the client. To redirect the response to a specific page, you can use this callbackErrorRedirectUrl option within the Web.Config file, specifying the required page name.

Declaration

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

Note

You should register the DevExpress Web.config section to apply these settings to your project.

By default, this option’s value is an empty string. Assign a value to this option (for instance as callbackErrorRedirectUrl=”Default2.aspx”) to specify the redirection location.

DevExpress configuration section

Corresponding Class

ErrorsConfigurationSection