Getting the screen resolution
-
I am using C# together with ASP.net. I need to check if the screen resolution is equal or bigger than 1024 x 768, if not so, the page wil display a message that wil inform the user to change his res. Thanks Icarus
This question has better chances to be answered in the ASP.NET forum.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
I am using C# together with ASP.net. I need to check if the screen resolution is equal or bigger than 1024 x 768, if not so, the page wil display a message that wil inform the user to change his res. Thanks Icarus
I don't think this is going to work as the C# code is going to be running on the server, not the client. You need to look at one of the client side scripting technologies, like JavaScript, but I'm not sure it's possible. The better question is why does your web app require that high of a resolution?
----------------------------- In just two days, tomorrow will be yesterday.