Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes


This sample illustrates use of the AJAX-based callbacks implemented by the DevExpress MVC PageControl extension.

The PageControl extension supports AJAX with the ability to load a tab's content from the server via a callback when the tab becomes active. This approach allows the PageControl extension to avoid the initial transfer of all its inactive pages, thus improving page load times.

In order to activate the use of callbacks, the PageControl extension's CallbackRouteValues property should contain the path to an action that handles a callback request. The best way to handle such callbacks is to use a partial view that only contains a PageControl extension.

In this sample, we momentarily pause callback processing on the server side, so that the Loading Panel is visible during processing.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxNavigationAndLayoutDemos