PageSize in the ASP.NET MVC wrappers

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    Apr 2012

    Posted 31 Jul 2012 Link to this post

    I am sure I am missing something here, but I can't find how to set the PageSize in the grid using the MVC wrappers.  Snippet from setting the datasource.

        .Pageable(pager => pager
                    .PageSize(20) //  This fails.
                    .PageSizes(new int[] { 10,20,30 }))

    In the client library there is a pageSize property.

    What am I missing?

    Thanks in advance
  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 01 Aug 2012 Link to this post


    The PageSize setting should be set in the DataSource configuration.

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