URL fragment navigation broken?

4 posts, 0 answers
  1. Martin Amm
    Martin Amm avatar
    2 posts
    Member since:
    Oct 2006

    Posted 28 Nov 2013 Link to this post

    Hi,

    I've a problem with multiple of your sample apps when running e.g. on an iPhone or iPad.

    e.g. If I go to http://demos.kendoui.com/mobile/m/index.html#/mobile/m/tabstrip/index.html and select the rating tab then I go to another browser tab or another app. When returning to the tabs trip sample safari might reload the page.

    expected result: I see the same page after returning

    result: I get an empty page

    you can force this by touching reload. Again expected result: seeing the page I've seen before. Result: empty page

    I have seen this behavior in all of your samples. So I'm wondering if that's broken by design or how it can be fixed?

  2. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 28 Nov 2013 Link to this post

    Hi Martin,

    the behavior you observe is due to secondary remote views. When a remote view is requested, its response may contain additional views, which are injected in the DOM, and may be referred to later, as local views. However, these secondary remote views don't have fully qualified URL. This approach is suitable if the views in question don't have to be bookmarkable, or the application is phonegap based. 

    In case you experience such problem in your app, you can easily avoid it by not using secondary remote views. 

    Regards,
    Petyo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Martin Amm
    Martin Amm avatar
    2 posts
    Member since:
    Oct 2006

    Posted 28 Nov 2013 Link to this post

    I didn't bookmark the URL and random refreshing of pages is the default behavior in mobile browsers (at least in iOS).

    So if I understand you correct "secondary remote views" work only in phone gap and are broken by design in mobile browses and should therefore not be used.

    Maybe you shouldn't use these "secondary remote views" in your own online samples, as these samples mostly fail sooner or later!
  4. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 02 Dec 2013 Link to this post

    Hello Martin,

    Thank you for your suggestion. We will make sure that this case is better explained in our documentation, too. In case you need any further help regarding this behavior, do not hesitate to contact us. 

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