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

Kendo UI Editor; Loads in iPhone, Android Tablet/Phone, but not iPad.

4 Answers 96 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dan
Top achievements
Rank 1
Dan asked on 24 Oct 2012, 08:54 PM
Hello,

The code is the same for each platform, no javascript platform checking is done, it is all the same index.html page. iPhone loads the kendo editor fine, so does both Androids in the simulator, except iPad.
xxx.kendoEditor(...); stays undefined, which breaks all the javascript afterwards.

This works on our physical office iPad, and the XCode Simulator on the macobookpro, which is why I think it's ICENIUM related. (tried Mist as well)

Thanks!, awesome app btw.

4 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 25 Oct 2012, 03:48 PM
Hello David,

Icenium iPad simulator appears to Kendo and other scripts as iOS 4.0 iPad, and actually correctly represent the Kendo Editor under iPad with that iOS.

We will provide in the future option to select the iOS version and make it clearly visible in simulator.
It is always recommend to test on real devices targeted by your app if possible.

FYI:According to Kendo Team:
The Kendo Editor requires the browser to support rich text editing. iOS Safari supports that from version 5: http://www.tuaw.com/2011/06/08/will-ios-5s-safari-deliver-better-support-for-web-editors/

Regards,

Jordan
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Dan
Top achievements
Rank 1
answered on 25 Oct 2012, 05:19 PM
Hi Jordan,

I have tried overriding the User-Agent in Graphite's settings as iOS 5 iPad and still no luck.
0
Accepted
Jordan
Telerik team
answered on 26 Oct 2012, 08:53 AM
Hi David,

unfortunately we override that :)

but to unblock testing on iPad simulator in your case add code below after <script type="text/javascript" src="cordova.js"></script>\

Code to override user agent:
<script>
if (navigator.userAgent.indexOf('iPad;') > -1) {
window.navigator.__defineGetter__('userAgent', function () {

                    return 'Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9B206';
});
}
</script>

All the best,
Jordan
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Dan
Top achievements
Rank 1
answered on 26 Oct 2012, 01:56 PM
Hello Jordan,

Thanks a lot!!! It's works perfectly fine.

Kind Regards,
Dave
Tags
Report a bug
Asked by
Dan
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Dan
Top achievements
Rank 1
Share this question
or