How can I get the screen width on the server side in an Asp.net (C#) project?
You could read it with javascript and submit the results to the server. A server-side-only solution can not exist, since html does not submit such data automatically in requests.