navbar - Uncaught TypeError: Cannot call method 'split' of undefined

2 posts, 0 answers
  1. Jon
    Jon avatar
    24 posts
    Member since:
    Apr 2009

    Posted 15 Jul 2013 Link to this post

    Using the layout template where I have the following markup

    <div data-role="navbar">
        <a class="nav-button" data-align="left" data-transition="slide:left" data-role="backbutton">Back</a>
        <span data-role="view-title"></span>
        <a data-align="right" data-role="button" data-transition="slide:left" class="nav-button" href="#tabstrip-home">Home</a>
    </div>
    if you select the back button the first time the page loads you get Uncaught TypeError: Cannot call method 'split' of undefined - I guess as there is nothign to go back to, how can I disable this button until there is something to go back to?
  2. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 17 Jul 2013 Link to this post

    Hello,

    Currently, the mobile button widget does not support enabling/disabling out of the box. The javascript error you experience will be addressed in our upcoming Q2 release. 

    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