Last edited Sep 17, 2012 at 4:45 PM by jwrosewell, version 56

Comments

wjwolf79 Nov 29, 2011 at 6:46 PM 
note that the displayed code is NOT for MVC. It is still using WebForms. goto the downloads section and download the MVCMobileDetection solution and go through that.

rabihharb Jan 11, 2011 at 2:25 PM 
hello guys, am having this problem, i added the 51degree enhancement files. i m trying to update existing Mobilepages with mobile controls (vs 2005) and i m receiving this error

Unable to cast object of type 'FiftyOne.Foundation.Mobile.Detection.FiftyOneBrowserCapabilities' to type 'System.Web.Mobile.MobileCapabilities'.

i think existing pages or web site especially if they are mobile pages, cannot benefit from the 51 degree. any one has some ideas ?

nhoksingle Nov 29, 2010 at 8:08 AM 
robasta: me too,
please help me!!!!!

robasta Nov 23, 2010 at 12:29 PM 
I am using MVC 2 and I get an error here:

((MobileCapabilities)Request.Browser).PointingMethod.ToString();

The error is shown below:

Error 1 Cannot convert type 'System.Web.HttpBrowserCapabilitiesBase' to 'FiftyOne.Foundation.Mobile.Detection.MobileCapabilities'