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
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Collapse]DevExpress.Web.MVC.Scripts
   [Expand]MVCxClientBeforeExportRequestEventArgs Class
    MVCxClientBeforeExportRequestEventHandler Delegate
   [Expand]MVCxClientBeginCallbackEventArgs Class
    MVCxClientBeginCallbackEventHandler Delegate
   [Expand]MVCxClientCalendar Class
   [Expand]MVCxClientCallbackPanel Class
   [Expand]MVCxClientCardView Class
   [Expand]MVCxClientChart Class
   [Expand]MVCxClientComboBox Class
   [Expand]MVCxClientDataView Class
   [Expand]MVCxClientDateEdit Class
   [Expand]MVCxClientDockManager Class
   [Expand]MVCxClientDockPanel Class
   [Expand]MVCxClientDocumentViewer Class
   [Expand]MVCxClientFileManager Class
   [Expand]MVCxClientGlobalBeginCallbackEventArgs Class
    MVCxClientGlobalBeginCallbackEventHandler Delegate
   [Collapse]MVCxClientGlobalEvents Class
     MVCxClientGlobalEvents Members
     MVCxClientGlobalEvents Constructor
    [Collapse]MVCxClientGlobalEvents Events
      BeginCallback Event
      CallbackError Event
      ControlsInitialized Event
      EndCallback Event
    [Expand]MVCxClientGlobalEvents Methods
   [Expand]MVCxClientGridView Class
   [Expand]MVCxClientHtmlEditor Class
   [Expand]MVCxClientImageGallery Class
   [Expand]MVCxClientListBox Class
   [Expand]MVCxClientNavBar Class
   [Expand]MVCxClientPageControl Class
   [Expand]MVCxClientPivotGrid Class
   [Expand]MVCxClientPopupControl Class
   [Expand]MVCxClientReportDesigner Class
   [Expand]MVCxClientReportDesignerSaveCommandExecutedEventArgs Class
    MVCxClientReportDesignerSaveCommandExecutedEventHandler Delegate
   [Expand]MVCxClientReportViewer Class
   [Expand]MVCxClientRichEdit Class
   [Expand]MVCxClientRoundPanel Class
   [Expand]MVCxClientScheduler Class
   [Expand]MVCxClientSchedulerTemplateToolTip Class
   [Expand]MVCxClientSchedulerToolTipDisplayingEventArgs Class
    MVCxClientSchedulerToolTipDisplayingEventHandler Delegate
   [Expand]MVCxClientSpreadsheet Class
   [Expand]MVCxClientTokenBox Class
   [Expand]MVCxClientTreeList Class
   [Expand]MVCxClientTreeView Class
   [Expand]MVCxClientUploadControl Class
   [Expand]MVCxClientUtils Class
   [Expand]MVCxClientVerticalGrid Class
   [Expand]MVCxClientWebDocumentViewer Class
   [Expand]MVCxSchedulerToolTipType Class
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET 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]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

MVCxClientGlobalEvents.CallbackError Event

Fires on the client if any server error occurs during server-side processing of a callback sent by a DevExpress MVC extension.

Namespace:DevExpress.Web.MVC.Scripts
Assembly:JavaScript

Expanded Syntax

Expanded Event Data

The event handler receives an argument of type ASPxClientGlobalCallbackErrorEventArgs containing data related to this event.

The following ASPxClientGlobalCallbackErrorEventArgs properties provide information specific to this event.
Property Description
control Gets an object that initiated a callback.
handled Gets or sets whether the event is handled and the default error handling actions are not required.
message Gets the error message that describes the server error that occurred.

Expanded Remarks

The CallbackError event enables you to properly respond to a server error occurring as a result of a callback processed on the server side. You can handle this event to perform specific client-side actions, for example, displaying explanatory text or an image related to the error.

Typically, a server error which occurs during server-side processing of a callback, leads to web application hanging, because in this case, no proper response is generated for the DevExpress client object that initiated the callback. However, AJAX-enabled DevExpress MVC extensions are able to automatically catch server errors occurring during server-side processing, and to pass the related error information to the client for further processing through the CallbackError event's argument.

See Handling Callback Exceptions on Client to learn more.

Expanded See Also

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