[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Collapse]Common Concepts
  [Expand]Web.config Modifications
  [Collapse]Callback Exception Handling
    Overview - Callback Exception Handling
    Displaying Message Texts for Callback Errors
    Handling Callback Exceptions on Server
    Response Redirection on Callback Exceptions
    Handling Callback Exceptions on Client
  [Expand]Client-Side Functionality
  [Expand]Cookies Support
  [Expand]Appearance Customization - Theming
   Icon Collection
  [Expand]Performance Optimization
  [Expand]CSS Image Sprites
   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)

Handling Callback Exceptions on Client

A DevExpress ASP.NET Ajax-enabled control automatically catches server exceptions that occur within its server-side event handler, and passes corresponding error information to the client for processing. On the client side, the error is processed at the control level (via the control's CallbackError client event) or centrally across DevExpress web controls (by handling the ASPxGlobalEvents control's ASPxClientGlobalEvents.CallbackError client event).

Handle either of these client events to perform specific client-side actions, such as to display explanatory text or an image related to the error.

Expanded Example

This example demonstrates how to use the ASPxClientNavBar.CallbackError event to process a server error.

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