This is a migrated thread and some comments may be shown as answers.

i06 Ipad - getting error at telerik.isSafari()

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jacob
Top achievements
Rank 1
Jacob asked on 04 Oct 2012, 09:47 PM
I am testing in safari. I changed the user agent to "Mozilla/5.0 (iPad; CPU OS 6_0 like MAC OS X) AppleWebkit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25" which is nothing but  "i06 IPad". When i start debugging, I get the error at 


Type.registerNamespace("Telerik.Web.UI"); 




at
if(!$telerik.isSafari){c.outerHTML=null; 


I got this error when I selected "pause on uncaught exceptions" in safari
I am trying to deubug. But Still I dont any solution or not sure why this is happening. If I change back the user agent to anything else in Safari, it works fine.


Thanks for the help.

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 09 Oct 2012, 07:21 AM
Hi,

 Most likely in this case the browser version is not detected correctly because of the changed user agent string which causes problems. RadControls use different client-side scripts for detecting various touch devices and cross changing UA strings on browsers is not a recommended approach.
Can you share a sample markup that replicates the problem and also is this issue replicated on an actual iPad device?

Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Jacob
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or