Asp.Net Get Screen Width

后端 未结 4 1575
囚心锁ツ
囚心锁ツ 2021-01-03 11:00

How can I get the screen width on the server side in an Asp.net (C#) project?

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-03 11:40

    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.

提交回复
热议问题