Can anyone tell me how can I implement server-side paging with client-side Kendo UI Grid?
相关问题
- MVC-Routing,Why i can not ignore defaults,The matc
- parameters in routing do not work MVC 3
- There is no ViewData item with the key 'taskTy
- TextBoxFor decimal
- Install ASP.NET 5.0 version of System.ServiceModel
相关文章
- How to get a list of connected clients on SignalR
- How do you redirect to the calling page in ASP.NET
- Change color of bars depending on value in Highcha
- The program '[4432] iisexpress.exe' has ex
- ASP.Net MVC 4 Bundles
- How to get server path of physical path ?
- Cannot implicitly convert Web.Http.Results.JsonRes
- entity type has no key defined - Code first
To implement server pagination, correct format should be return from server. For server side paging JSON format will be something like below JSON:-
Tell to kendo grid pick total number of records from mytotal object and data rows from mydata in schema
Check detail example here
The grid will send the current
pageSize
andskip
once you setserverPaging
totrue
. On the server side you should page your data using the provided info and return it together with the total number of items. Here is a code snippet:Action
View
Reference
Paging with LINQ
DataSource configuration settings