How to set PageSize client-side?

3 posts, 0 answers
  1. Ralf
    Ralf avatar
    77 posts
    Member since:
    Jun 2012

    Posted 15 Aug 2011 Link to this post

    Hi,

    I have some problem to set the PageSize property from client side. The scenario is to set the PageSize dynamically calculated by window size, to handle different screen resolutions and window sizes. So no scrolling is needed.
    Is there any solution?

    Best regards,
    Ralf
    www.d-velop.de

  2. Tsvetina
    Admin
    Tsvetina avatar
    1873 posts

    Posted 18 Aug 2011 Link to this post

    Hello Ralf,

    RadGrid's page size can be set on the client only when client binding is used, otherwise a change of the pagesize would require a postback. An example of client-side bound grid is available here:
    http://demos.telerik.com/aspnet-ajax/grid/examples/client/declarativedatabinding/defaultcs.aspx
    And a short reference on the api used to change the page size here:
    http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-set-pagesize.html

    Kind regards,
    Tsvetina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ralf
    Ralf avatar
    77 posts
    Member since:
    Jun 2012

    Posted 19 Aug 2011 Link to this post

    Hello Tsvetina,

    thank you for information. Client side binding is not usefull in our szenario. So I will check other solutions.

    Best regards,
    Ralf
    www.d-velop.de
Back to Top