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

Kendo Mobile + PhoneGap triggering view change on device status change

1 Answer 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 19 Sep 2013, 12:38 PM
hi all, I'm developing an app with PhoneGap and KendoUI; I'm brand new to both of these frameworks so forgive my potential ignorance.

I have a single html file with multiple data-role="view" views, within the phonegap JS I am watching for state changes, on "deviceready" i'd like to change from my default "Loading" view to my login view.

My question is: is there an elegant, KendoUI method to trigger this view change? If not, do I simply .hide() the one and .show() the other?

Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 24 Sep 2013, 06:27 AM
Hi Michael,

Thank you very much for your interest in Kendo UI!

You can use the navigate() method of the Kendo UI Mobile application to navigate to different local or remote views. You can read more about this method and the application in general on the following link:

http://docs.kendoui.com/api/mobile

You can also check the following forum discussion where similar case is mentioned:

http://www.kendoui.com/forums/kendo-ui-mobile/application/programmatic-navigation.aspx

Regards,
Daniel
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
Michael
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or