Problem after using scheduler after switching tabs

2 posts, 1 answers
  1. Answer
    Chris
    Chris avatar
    5 posts
    Member since:
    Dec 2013

    Posted 05 Jan 2014 Link to this post

    Hi Fellas,
    I am struggling with the Kendo UI scheduler. After I switch to the tab, I cannot normally go back without it changing the style
    <div data-role="view" data-init="initScheduler" id="scheduler" data-title="Scheduler">
        <header data-role="header">
            <div data-role="navbar">
                <a data-role="button" href="#home" data-icon="back" data-align="left" ></a>
                <span data-role="view-title">iOS Platform</span>
                <a data-role="button" data-rel="drawer" href="#right-drawer" data-icon="share" data-align="right" ></a>
            </div>
        </header>
        <div id="scheduler"></div>
    </div>
    That's how I call the scheduler and the problem is demonstrated on this page http://chris1904.webege.com/ 
    If you go to scheduler, you realize that if you go back the UI looks different. How can I prevent it from doing that?

    Thanks for your help and this amazing framework,
    Chris

    Edit:
    Sorry, I clearly posted this in the wrong section, but I cannot change it anymore. Please move it to the correct board

  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 06 Jan 2014 Link to this post

    Hello Chris,

    You have duplicate IDs on your Scheduler and your View and since you init the scheduler on this ID and the View is first in the DOM - your scheduler gets initialized on it, causing this mess. If you change the ID of the View to something else, I guess your issue will be resolved.

    Regards,
    Kamen Bundev
    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