Click to See Complete Forum and Search --> : how to get window size


rutledj
03-25-2006, 07:48 PM
Is it possible to access the screen/window size of the active page so you could resize a control (flash component) on the screen as the window sizes?

And if so, how do you create an event that fires when the window changes size?

I'm using visual studio 2005 (asp.net 2).

Thanks,
Rut

PeOfEo
03-26-2006, 11:17 PM
No. Not from a server side script. You cannot interact with the browser at all other than getting the user agent from it and form submissions / query strings. However, you can use a client side script such as java script to get that information and then have it fill a hidden form input and post a form.