[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Collapse]Multi-Use Site Extensions
     Overview - CallbackPanel
  [Expand]Query Builder
 [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)

Overview - CallbackPanel

The CallbackPanel extension is essentially a container with a built-in AJAX callback functionality that allows you to update its content without performing a postback. This extension exposes a client method that initiates a callback and passes arbitrary data to the server. The callback can then be processed on the server side either in the corresponding Controller action method (that handles a callback request) or by using a custom handler method (which can be referenced via a specially designed server-side property). After the required server-side processing is done, CallbackPanel content is updated automatically.

To learn more about CallbackPanel and see it in action, refer to its online demos.

Expanded Implementation Details

CallbackPanel is realized by the CallbackPanelExtension class. Its instance can be accessed via the ExtensionsFactory.CallbackPanel helper method, which is used to add a CallbackPanel extension to a view. This method's parameter provides access to the CallbackPanel's settings, implemented by the CallbackPanelSettings class, allowing you to fully customize the extension.

CallbackPanel's client counterpart is represented by the MVCxClientCallbackPanel object.

Expanded Declaration

A CallbackPanel can be added to a view in the following manner:

View code - "Index" (ASPX):

View code - "Index" (Razor):

PartialView code - "CallbackPanelPartial" (ASPX):

PartialView code - "CallbackPanelPartial" (Razor):

Controller code - "HomeController":

Known Limitations

The Partial View should contain only the extension's code.

Expanded See Also

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