Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 06, 2013 04:56 PM by jwrosewell
Jan 05, 2013 10:31 AM|LINK
I just want to detect the aspx visitor is mobile or not if yes then use mobile.master as masterpage.
I found Request.Browser.IsMobileDevice is no longer able to detect new generation of mobiles.
But I do not want to go for WURFL if there is easier way out.
What would be a solution to my situation ?
Many thanks in advance.
Jan 06, 2013 06:57 AM|LINK
I blogged it - http://roopeshreddy.wordpress.com/2012/06/24/detect-requesting-device-type-and-redirect-in-asp-net/
Hope it helps u...
Jan 06, 2013 04:56 PM|LINK
A simple solution would be to use 51Degrees.mobi (my company) by installing the
NuGet plug-in. Request.Browser.IsMobileDevice will instantly become more accurate without needing to do anything more than adding the package to your project.