The DataManager class helps in binding the Grid queries passed to the server-side. Based on those queries you can perform server-side operation on the Grid data.
The query parameters that help you perform the server-side operations are as follows.
Table 1: Query Parameters
The query parameters are serialized by the DataManager class and the server-side operations such as sorting, filtering, paging are performed by the PerformSorting, PerfomWherFilter, PerformSkip and PerformTake methods.
You can also perform the server side operation such as filtering, paging and sorting by using the DataOperations Execute method instead of using the individual methods. The following code example shows you how to use the Execute method in the DataManager.
Table 2: Server side operation order for Execute method
In the following code example is demonstrated the server-side operation using UrlAdaptor.
In ASP.NET, the server-side operation is performed by using the WebMethodAdaptor, and the DataManager parameter is set as value.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|4300||03/16/2015||10/14/2015||ASP.NET Web Forms||Grid|