Clicking on the back button gives error "Uncaught Error: Syntax error, unrecognized expression: #:back"

4 posts, 1 answers
  1. Sneha
    Sneha avatar
    2 posts
    Member since:
    Aug 2015

    Posted 05 Oct 2015 Link to this post

    We have implemented the back button on our header for a phone gap app.

    Clicking on the back button intermittently gives this error "Uncaught Error: Syntax error, unrecognized expression: #:back"

    If I type this $("body").data().kendoMobilePane.navigate("#:back"); in the console window it works perfectly, this error comes from jquery.

     

    Please help, can't figure this out as it's intermittent.

    Here's the back button in the layout

    <a data-role="backbutton" class="icon-button"><i class="fa fa-angle-left"></i></a>

    Thanks!

  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 07 Oct 2015 Link to this post

    Hello Sneha,

     

    which Kendo UI version do you use? This sounds like a problem we introduced in Q1 SP, which was fixed shortly afterwards. 

     

    Regards,
    Petyo
    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
  4. Sneha
    Sneha avatar
    2 posts
    Member since:
    Aug 2015

    Posted 07 Oct 2015 in reply to Petyo Link to this post

    Hi Petyo,

    The version I'm using is this

    Kendo UI v2015.1.429

  5. Answer
    Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 09 Oct 2015 Link to this post

    Hello Sneha,

     

    please upgrade your project to a more recent version - your current one is affected by the problem you experience. 

     

    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
Kendo UI is VS 2017 Ready