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 2NextLast
Canon EOS 400D
10.1 million pixels
Canon EOS 30D
8.2 million pixels
Canon EOS-1D Mark II N
8.2 million pixels
Canon EOS 5D
12.7 million pixels
Canon EOS 350D
8 million pixels
Canon EOS-1Ds Mark II
16.6 million pixels
Nikon D80
10 million pixels
Nikon D2Xs
12.2 million pixels
Nikon D200
10 million pixels
Nikon D70s
6 million pixels
FirstPrevPage 1 of 2NextLast

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