Linking Views in a Hybrid app

Thread is closed for posting
2 posts, 0 answers
  1. NIKOLAS
    NIKOLAS avatar
    1 posts
    Member since:
    Dec 2016

    Posted 12 Jan 2017 Link to this post

    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

  2. Tsvetina
    Admin
    Tsvetina avatar
    2331 posts

    Posted 16 Jan 2017 Link to this post

    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.

     
Back to Top