6 Answers, 1 is accepted
0
Hi Dominik,
schema.total is required when using serverPaging. For more information, see this documentation.
Regards,
Pat
Telerik
schema.total is required when using serverPaging. For more information, see this documentation.
Regards,
Pat
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Dominik
Top achievements
Rank 1
answered on 28 Sep 2015, 03:13 PM
Does the grid support custom paging? is the paging behavior extensible?
0
Hello Dominik,
Please refer to the Custom Binding article that demonstrates how to bypass the built-in data processing and to handle operations such paging, sorting, filtering and grouping by yourself.
Regards,
Boyan Dimitrov
Telerik
Please refer to the Custom Binding article that demonstrates how to bypass the built-in data processing and to handle operations such paging, sorting, filtering and grouping by yourself.
Regards,
Boyan Dimitrov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Dominik
Top achievements
Rank 1
answered on 30 Sep 2015, 12:45 PM
I'm using Kendo UI. Is there client side custom binding? The link was for asp.net mvc.
Thanks for your reply!
Dominik
0

Dominik
Top achievements
Rank 1
answered on 30 Sep 2015, 12:47 PM
Also, if no, can you combine the the two api's Kendo UI and Asp.net mvc?
0
Hello Dominik,
Custom client-side binding is not supported functionality, a custom operation could be implemented on the server.
A possible solution for using the Kendo UI Grid (JavaScript) would be to send the Kendo.Mvc.UI.DataSourceRequest object to your controller action from the client side( the Kendo.Mvc.UI.DataSourceRequest object holds the sort, filtering and etc information).
In order to do that please:
1. set the type option as shown below:
"dataSource"
: {
"type"
:
'aspnetmvc-ajax'
,
"transport"
: {
"read"
: {
"url"
:
"/Home/Products_Read"
},
"prefix"
:
""
}
.......
}
2. Include the kendo.aspnetmvc.min.js script.
3. By default the .ToDataSourceResult stores the items in Data, so it should be defined in the schema.data:
"schema"
: {
"data"
:
"Data"
,
......
}
Please find attached a sample project that implements the scenario. Regards,
Boyan Dimitrov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!