Dynamic PageSize based on Browser body.clientHeight

Discussion in 'ASP .Net Datagrid Control' started by Rod Billett, Oct 23, 2003.

  1. Rod Billett

    Rod Billett Guest

    Anyone have any ideas on how to adjust the datagrid's PageSize value based
    on the client browser size and re-adjust itself when a client re-sizes their
    browser (Or first postback after a client resize)?

    I tried a few things, but it always resulted in the need to rebind the
    dataset to the datagrid. But I ran into troubles when the client resizes
    their browser, and then clicks on a page number to do page navigation - the
    navigate page may be invalid given the new 'layout'

    Any Ideas would be welcome.
    Thanks
    Rod
    Rod Billett, Oct 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3RlcGhlbiBIYXRmaWVsZA==?=

    Overriding AllowPaging and PageSize set in skin file

    =?Utf-8?B?U3RlcGhlbiBIYXRmaWVsZA==?=, May 5, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    651
    Onwuka Emeka
    May 5, 2006
  2. Replies:
    0
    Views:
    365
  3. Dynamic DataGrid PageSize

    , Apr 17, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    356
  4. Girish Prabhu

    Dynamic height and pagesize adjustment of Grid

    Girish Prabhu, Jan 27, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    118
    Girish Prabhu
    Jan 27, 2004
  5. Gridview Dynamic Pagesize

    , May 6, 2008, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    419
Loading...

Share This Page