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

Linking Views in a Hybrid app

1 Answer 27 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
NIKOLAS
Top achievements
Rank 1
NIKOLAS asked on 12 Jan 2017, 12:28 PM

Sorry if this is a stupid question or deemed as not in the correct place. 

I'm having some difficulty with something I know should be very simple, I'm currently building a hyrbid app and trying to link one view to the other.

For example, my app has three main buttons on the bottom of my UI but inside one of those views I want to create some more content on another page or "view" but not appear on my main bottom menu. But whenever I try and link it to the appropriate view IE 

<a href="components/area2/view.html"> Click here </a>

It loads a blank template with no other information on it and not including my main menu, if anyone knows an area of the documentation that would answer this question or a previous thread please could you forward it to me?

 

thank you

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 16 Jan 2017, 03:24 PM
Hello Nikolas,

When initialized, the Kendo Mobile Application modifies the behavior of the Kendo UI hybrid widgets—ListView link items, buttons, tabs—so that they navigate between the mobile views when the user taps them. However, if you define a link that is not a Kendo UI widget or part of one, the Application does not recognize it as inner navigation. What you can do to fix this, is to set data-role="button" to this link:

<a href="...." data-role="button">Navigate</a>

You can learn more specifics of the Kendo UI Application from this article:
Kendo UI Application

Regards,
Tsvetina
Telerik by Progress
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
NIKOLAS
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or