Screeh Resolution

  • Thread starter Thread starter Toby Riley
  • Start date Start date
T

Toby Riley

Hi,

Can anyone tell how to get the screen resolution / width from any browser
into asp.net.

Thanks

Toby
 
Use JavaScript to get it:

screen.width
screen.height.

Then store it to hidden form field and cause a postback (or use other
mechanism) to send them to the server. Server can then read them from the
posted hidden fields.
 
Back
Top