Navigate to local view in remote view

2 posts, 0 answers
  1. Cestrian
    Cestrian avatar
    17 posts
    Member since:
    Sep 2012

    Posted 10 Jul 2015 Link to this post

    Hi,

    I'm have a remote view which I'll name here "multiplelocalviews.html" with multiple local views...example below:

    <div data-role="view" id="LocalView1" data-layout="default" data-reload="false">

    Local View 1 

    </div>

     <div data-role="view" id="LocalView2" data-layout="default" data-reload="false">

    Local View 2

    </div>

     <div data-role="view" id="LocalView3" data-layout="default" data-reload="false">

    Local View 3

    </div>

    When I try and navgiate to a particular local view in this remote view from a different page the app seems to navigate to the correct view then change to Local View 1.

    I've tried to navigate using both the following methods:

    <a href="multiplelocalviews.html#LocalView1" data-role="button" data-ajax="false" style="width: 100%">Local View 1</a>
    <a href="multiplelocalviews.html#LocalView2" data-role="button" data-ajax="false" style="width: 100%">Local View 2</a>
    <a data-click="localViewThree" data-role="button" data-ajax="false" style="width: 100%">Local View 3</a>

    function localViewThree() {
        app.navigate("multiplelocalviews.html#LocalView3");
    }

    But neither seems to work.

    Any advice?

     

    Thanks

  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 12 Jul 2015 Link to this post

    Hello Phill,

    I am afraid that the behavior you refer to is not supported. You should use multiple remote views instead.

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top