Chrome-specific error using Mac 21.0.1180.57

2 posts, 0 answers
  1. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 08 Aug 2012 Link to this post

    Hi,

    We are running into a repeatable issue wherein Chrome and only Chrome dies with the following error "Uncaught SyntaxError: Unexpected Token. The error seems to be random. It absolutely kills everything and you need to do a complete reload of the screen.

    Sometimes associated with a RadComboBox, other times, the RadProgress area. In googling this, there were suggestions regarding eliminating possible hidden garbage characters in the .aspx. 

    In VS 2008, we copied out of VS into notepad and back in and also tried the Advanced - > Delete Horizontal White space option in VS 2008, but the problem persists. It presents itself in complex layouts where a RadMenu, ComboBox, Grid, MultiPage, Editor and Tab interface are provided. The screen in question does not use RadAjaxManager.

    Any thoughts on how to diagnose and resolve this would be most welcome. This does not occur in Firefox or IE 9. 
  2. Marin
    Admin
    Marin avatar
    1057 posts

    Posted 14 Aug 2012 Link to this post

    Hello,

     Is the problem reproduced on other OS besides Mac or with earlier versions of the Chrome browser? The error indicates that there is some invalid character when parsing a javascript or JSON response for example as a result of an ajax request. If the error is raised as a result of an operation that executed some client-side code or performs an ajax request you should check whether the client-side code is valid (for example no commas or other characters are missing in the code), or if it is a response from an ajax call it should also return code in valid JSON format.

    Regards,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top