Kendo UI Mobile Views not loading properly

2 posts, 0 answers
  1. tundecanhelp
    tundecanhelp avatar
    10 posts
    Member since:
    Jul 2013

    Posted 12 Jul 2013 Link to this post

    I am developing an app that has sever views inside a folder called views. from within my main index.html file if i link to any view within the view folder it does not load in my styles nor transitions all i get is a blank white screen with a word "back" which is for the button in the navbar of the view that loads. Below are the sample code i used.

    Index.html file code below.
    <!DOCTYPE html>
            <meta charset="utf-8" />
            <script src="cordova.js"></script>
            <script src="kendo/js/jquery.min.js"></script>
            <script src="kendo/js/"></script>
            <script src=""></script>
            <script src="scripts/hello-world.js"></script>

            <link href="kendo/styles/" rel="stylesheet" />
            <link href="styles/main.css" rel="stylesheet" />
    <section data-role="layout" data-id="defaultlayout"> 
      <!--View content will render here--> 
            <div data-role="view" id="tabstrip-home" data-title="Hello World!">
                <a class="button" data-role="button" href="views/about.html">Home</a>

            <div data-role="view" id="tabstrip-uiinteraction" data-title="UI Interaction">
                Another view

            <div data-role="view" id="tabstrip-geolocation" data-title="Geolocation">
                another view 2

            <div data-role="layout" data-id="mobile-tabstrip">
                <header data-role="header">
                    <div data-role="navbar">
                        <span data-role="view-title"></span>

                <div data-role="footer">
                    <div data-role="tabstrip">
                        <a href="#tabstrip-home" data-icon="home">Home</a>
                        <a href="#tabstrip-uiinteraction" data-icon="share">UI Interaction</a>
                        <a href="#tabstrip-geolocation" data-icon="globe">Geolocation</a>

                var app = new, { transition: "slide", layout: "mobile-tabstrip" });

    Here is the code for my about.html

    <div data-role="view" id="secondview" data-layout="defaultlayout" data-title="Local View">
        <div ><p>Hi, I'm a local view.</p></div>
  2. Steve
    Steve avatar
    10940 posts

    Posted 15 Jul 2013 Link to this post


    Kendo UI Mobile transitions work with the code you've provided in the Icenium simulator. Do you have this problem in a specific device when you deploy the app?
    If you continue to experience problems, we would appreciate a sample or a project that we could look into. You could also post to stackoverflow which is monitored by the Kendo UI staff and it is highly likely they might have an idea of what might be the culprit.


    Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top