This is a migrated thread and some comments may be shown as answers.

Chrome-specific error using Mac 21.0.1180.57

1 Answer 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 08 Aug 2012, 05:30 PM
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. 

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 14 Aug 2012, 07:36 AM
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.
Tags
General Discussions
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or