Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [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
   Binary Storage Configuration
  [Expand]SharePoint Support
   Touch 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]Localization
 [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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.

How would you rate this topic?​​​​​​​