Screen resolution in web site
-
Hi guys. I wanna know if I add a windows.forms reference in my web project and use
System.Windows.Forms.SystemInformation.PrimaryMonitorSize
its a good thing. or javascript window.screen.width its more recommended to web projects?
-
Hi guys. I wanna know if I add a windows.forms reference in my web project and use
System.Windows.Forms.SystemInformation.PrimaryMonitorSize
its a good thing. or javascript window.screen.width its more recommended to web projects?
Managed code will run on the server, not the client; and it is likely to fail, as there is no user logged in, hence no primary monitor is known. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
Managed code will run on the server, not the client; and it is likely to fail, as there is no user logged in, hence no primary monitor is known. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
oh right!! :-\ thanks dude