Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 06, 2013 04:56 PM by jwrosewell
Member
711 Points
1468 Posts
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.
All-Star
20155 Points
3328 Posts
Jan 06, 2013 06:57 AM|LINK
Hi,
I blogged it - http://roopeshreddy.wordpress.com/2012/06/24/detect-requesting-device-type-and-redirect-in-asp-net/
http://roopeshreddy.wordpress.com/2012/12/29/mobile-web-applications-with-asp-net-webforms/
JavaScript - http://detectmobilebrowsers.com/
Hope it helps u...
12 Points
5 Posts
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.
hkbeer
Member
711 Points
1468 Posts
Any detection method easier than WURFL ?
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.
www.developerfusion.com/tools/convert/csharp-to-vb/
roopeshreddy
All-Star
20155 Points
3328 Posts
Re: Any detection method easier than WURFL ?
Jan 06, 2013 06:57 AM|LINK
Hi,
I blogged it - http://roopeshreddy.wordpress.com/2012/06/24/detect-requesting-device-type-and-redirect-in-asp-net/
http://roopeshreddy.wordpress.com/2012/12/29/mobile-web-applications-with-asp-net-webforms/
JavaScript - http://detectmobilebrowsers.com/
Hope it helps u...
Roopesh Reddy C
Roopesh's Space
jwrosewell
Member
12 Points
5 Posts
Re: Any detection method easier than WURFL ?
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.