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

JavaScript error with Kendo - ONLY when using IE10

9 Answers 172 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
voripteth
Top achievements
Rank 1
voripteth asked on 25 Sep 2013, 01:33 PM
I created a VS2012 project using the C# Kendo MVC web wizard (2013 MVC Q2) and ran the project without making any other changes.  The app runs but I see the following exceptions in the Output window when I run the page in IE10  (v10.0.9200.16686):
  • Exception was thrown at line 4, column 9009 in http://localhost:6616/Scripts/kendo/2013.2.918/jquery.min.js
  • 0x800a139e - JavaScript runtime error: SyntaxError
  • Exception was thrown at line 4, column 9238 in http://localhost:6616/Scripts/kendo/2013.2.918/jquery.min.js
  • 0x800a139e - JavaScript runtime error: SyntaxError

The app appears to run but the exceptions are a bit disconcerting.   Run the same project in Chrome or Firefox and there are no errors in the output window.  Is this a problem with Kendo or with IE10?

9 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 Sep 2013, 02:52 PM
Hi Mike,

The only reason for the problem that I can think of is the following:

http://www.kendoui.com/forums/kendo-ui-framework/general-discussions/q2'13-release---unable-to-get-property-jquery-of-undefined-or-null-reference-invalid-regular-expressions-or-expected-js-errors.aspx

Otherwise we are not aware of a similar issue and I cannot reproduce it in a newly created Kendo UI MVC project with VS2012.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
voripteth
Top achievements
Rank 1
answered on 26 Sep 2013, 03:00 PM
Another response I got pointed to a StackOverflow question here

What doesn't add up is that the errors are syntax errors.  They aren't runtime exceptions.  Its interesting that you cannot reproduce it.  Are you using Kendo 2013.2.918?  
0
Dimo
Telerik team
answered on 26 Sep 2013, 03:44 PM
Hi Mike,

>> Perhaps a bad copy of Jquery got released?

This is unlikely and I cannot confirm it. Did you try the suggestion in the forum thread? You can also try with a different copy of jQuery, but make sure it is a compatible version.

http://docs.kendoui.com/getting-started/javascript-dependencies#jquery-version

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
voripteth
Top achievements
Rank 1
answered on 26 Sep 2013, 06:44 PM
Trying to fix this I uninstall KendoUI and use Telerik Control Panel to re-install.  I then rebuilt a KendoUI we project with C# and ran it in IE10...

Exception was thrown at line 4, column 9009 in http://localhost:28255/Scripts/kendo/2013.2.918/jquery.min.js
0x800a139e - JavaScript runtime error: SyntaxError
Exception was thrown at line 4, column 9238 in http://localhost:28255/Scripts/kendo/2013.2.918/jquery.min.js
0x800a139e - JavaScript runtime error: SyntaxError

:(
0
Dimo
Telerik team
answered on 27 Sep 2013, 07:09 AM
Hi Mike,

Please send the project, which exhibits the unexpected behavior, for further inspection.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
voripteth
Top achievements
Rank 1
answered on 27 Sep 2013, 02:23 PM
Attached is the generated KendoUI project that demonstrates the problem.  Note that the javascript with the error is from the scripts/kendo folder.

Exception was thrown at line 4, column 9009 in http://localhost:31182/Scripts/kendo/2013.2.918/jquery.min.js
0x800a139e - JavaScript runtime error: SyntaxError
Exception was thrown at line 4, column 9238 in http://localhost:31182/Scripts/kendo/2013.2.918/jquery.min.js
0x800a139e - JavaScript runtime error: SyntaxError
0
Dimo
Telerik team
answered on 27 Sep 2013, 02:43 PM
Hello Mike,

The provided project does not trigger any Javascript errors on my side. I am using IE10 version 10.0.9200.16438. Also tested in the different browser modes.

Probably the issue is related to

http://stackoverflow.com/questions/15145108/running-jquery-crashing-on-ie10-win7

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Marco
Top achievements
Rank 2
answered on 02 Nov 2013, 12:37 PM
Hi I have got the same issues.

Exception was thrown at line 4, column 9009 in http://localhost:49293/Scripts/kendo/2013.2.918/jquery.min.js
Is there any solution to this?

The reason I am investigating this, is because of a (could be) related issue. None of the client side validation works anymore in my VS2012 MVC4 project with Kendo..
0
Dimo
Telerik team
answered on 04 Nov 2013, 10:11 AM
Hi Marco,

We have provided all the information we have on this issue above. Based on the suggestions in the jQuery bug tracking system and StackOverflow, please do not break on caught exceptions.

If the validation issue turns out to be caused by something else, please provide a runnable demo in a separate forum thread or a support ticket. Alternatively, if you find out what exactly triggers the Javascript error and it is Kendo UI - related, you can provide a demo here.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
voripteth
Top achievements
Rank 1
Answers by
Dimo
Telerik team
voripteth
Top achievements
Rank 1
Marco
Top achievements
Rank 2
Share this question
or