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

Navigate to local view in remote view

1 Answer 83 Views
Application
This is a migrated thread and some comments may be shown as answers.
Cestrian
Top achievements
Rank 2
Cestrian asked on 10 Jul 2015, 03:05 PM

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

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 12 Jul 2015, 03:58 PM
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!
 
Tags
Application
Asked by
Cestrian
Top achievements
Rank 2
Answers by
Petyo
Telerik team
Share this question
or