There is no connection between the server and the client other than when a
request is made - so javascript would be the most appropriate way. There is
a server side class called the HttpBrowserCapabilities Class but it only
gathers the capabilities of the browser, not the screen the browser as a
client runs within. This would however allow you to check if the client
supports javascript, and thus send some javascript to gather the client
screen dimensions.
You can look at it here.
http://msdn.microsoft.com/library/de...mberstopic.asp
The javascript approach is very easy, theres a good example here:
http://www.devcity.net/Articles/64/1...esolution.aspx
--
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
"Bredahl jensen" <br************@yahoo.dk> wrote in message
news:ep**************@TK2MSFTNGP09.phx.gbl...
Most of the the solution i have seen was throught javascript.
Many thanks in advance
JB