Dynamic PageSize based on Browser body.clientHeight

R

Rod Billett

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,082
Members
48,773
Latest member
Kaybee

Latest Threads

Top