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

Custom Callback

v
v
FirstPrevPage 1 of 3NextLast
SH1
$250.00
SB1000
$900.00
EB300
$210.00
AP70
$350.00
SH2
$210.00
SB01
$20.00
EB100
$370.00
AP500
$630.00
SH200
$400.00
SB02
$100.00
FirstPrevPage 1 of 3NextLast

The DevExpress ASP.NET Data View (ASPxDataView) provides the ability to initiate a custom callback on demand via the client PerformCallback method, and then perform any server-side processing required. In order to enable the use of callbacks, the EnableCallBacks property should be set to true. (It is set to true by default.) Typically, calling custom callbacks may be useful to solve the task of sorting or filtering data displayed by the ASPxDataView control.

This demo shows how the ASPxDataView data can be sorted using custom callbacks. The data field to sort and the sort order can be selected using the two combo boxes on the top right. When the combo box value is changed, the PerformCallback method of the ASPxDataView is called. Then, a specific SQL query is formed on the server side depending on the current values of the combo boxes.

Collapse/Expand
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
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxImageAndDataNavigationDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxImageAndDataNavigationDemos