This is a migrated thread and some comments may be shown as answers.

server-side paging with ajax

2 Answers 160 Views
Grid
This is a migrated thread and some comments may be shown as answers.
First
Top achievements
Rank 1
First asked on 18 Apr 2013, 11:13 AM
I am just getting started with the ASP.NET MVC wrappers.  I have been looking at the Custom server binding http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/custom-binding.

The first example of server-side paging/sorting works fine, but it refreshes the entire web page on paging/sorting (it's not ajax).

So I have started looking at the second example on the same page, "Custom ajax binding". Unfortunately there is no .cshtml code provided, so I can't get this to work.

Server-side paging with ajax is such a common scenario in ASP.NET, can you please add a full sample in the demo pages?

Thank you

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 18 Apr 2013, 12:17 PM
Hi First Last,

 Such an example is included in the sample application. Look in ~/Areas/razor/web/grid/

Greetings,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
First
Top achievements
Rank 1
answered on 18 Apr 2013, 03:03 PM
Great, thank you, I've got it working within minutes of seeing the example application code.

Just one quick question, when doing the Ajax request to get the data, is there any reason why the grid is using POST instead of GET?
Tags
Grid
Asked by
First
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
First
Top achievements
Rank 1
Share this question
or