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

Kendo UI Mobile - Open external Html5 page with back button

1 Answer 121 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 02 Jul 2014, 03:05 PM
Hi,

we are developing a hybrid app with kendo ui mobile.
The app receives html/json content from our server and shows this content to the user.
We also have some external html 5 exercises (consisting of some html pages, js and css) on our server.
We are looking for a way to integrate these exercises into our app so that we can open these external pages with a hyperlink from our app (in webview/inappbrowser) and after the user have finished the exercise to go back to the last app view.

Is there a way to show external pages in a view so that it appears that the page is inside the app (with header and footer)?

We already tried to open the external page with javascript in the inappbrowser (window.open(myURL, '_blank', 'location=no'));
This works well so far and the exercise shows up in the new browser window but with location=no we don't have any buttons to go back to the previous page (the last app view).
With location=yes there are buttons, but also shows the url of the external page which we want to avoid.

Thank you very much
Best regards Mark

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 03 Jul 2014, 08:06 AM
Hello Mark,

I am afraid that currently such functionality is not supported. Loading external html pages inside a Kendo UI Mobile View is currently not possible, and you can only show external pages in a new inApp browser window. Basically when you open the new browser window you exiting the application, and from that point on Kendo UI does not have control over the newly opened page.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or