server-side paging with ajax

3 posts, 2 answers
  1. Answer
    First
    First avatar
    2 posts
    Member since:
    Mar 2013

    Posted 18 Apr 2013 Link to this post

    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. Answer
    Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 18 Apr 2013 Link to this post

    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!
  3. First
    First avatar
    2 posts
    Member since:
    Mar 2013

    Posted 18 Apr 2013 Link to this post

    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?
Back to Top