Quantcast
Channel: User Lalit - Stack Overflow
Viewing all articles
Browse latest Browse all 34

Answer by Lalit for C# -> Detetcting Browser Width

$
0
0

The possible solution could be get screen size from javascript and call a method on server (using Jquery) that will save the details in the session.

Can you explain, for what purpose do you want use this value in the Server side code?

If you want to control placement of elements on the page etc. you could use Media Query that will resize your control according to the browser width.


Viewing all articles
Browse latest Browse all 34

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>