[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Collapse]Common Concepts
  [Collapse]Web.config Modifications
    Web.Config Modifications Overview
   [Collapse]Web.Config Options
     Web.Config Options Overview
     Accessibility Compliant
     Availability of Themes Assembly
     Callback Compression
     Callback State Encryption
     Check References To External Scripts
     Custom Theme Assemblies
     Document Type Mode
     Embed Third-Party Libraries
     IE Compatibility Version
     Page HTML Compression
     Redirection on a Callback Error
     Resource Compression
     Resource Merging
     Right to Left Support
     Style Sheet Theme Name
     Theme Base Color
     Theme Font Settings
     Theme Name
    ConfigSource Attribute
  [Expand]Callback Exception Handling
  [Expand]Client-Side Functionality
  [Expand]Cookies Support
  [Expand]Appearance Customization - Theming
   Icon Collection
  [Expand]Performance Optimization
  [Expand]CSS Image Sprites
   Data Annotation Attributes
   Supported Document Types
  [Expand]Accessibility Support
   Right to Left Support
   HTML Encoding
  [Expand]SharePoint Support
   Mobile Support
  [Expand]Office Document Management
   Cloud Storage Account Management
  [Expand]Web Farm and Web Garden Support
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

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

Expanded Declaration


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.


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}").

Expanded Related Configuration Section

Expanded Corresponding Class

Expanded See Also

Is this topic helpful?​​​​​​​