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.