In ASP.NET with C# to redirect page to Normal version or Mobile version how can I detect whether client is in computer browser or mobile phone browser?
Also how to detect mobile phone’s screen resolution.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
Also I don’t believe you can get the screen res from the server side.
You can get it with javascript though
screen.widthscreen.heightI suppose you could feed that back in through an ajax call….