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

Unexpected End of Input and Grid Response End and Error Events

1 Answer 825 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric J at FADV
Top achievements
Rank 1
Eric J at FADV asked on 22 May 2013, 08:33 PM
In the Kendo Grid component we are handling both the dataSource RequestEnd event and Error events. On out production site, for IE and Chrome (but not Firefox) , the RequestEnd event is coming back with a "undefined" argument.type property (we are relying on the "update"  type to trigger certain events). It turns out the at the same time in the Error event handler there is an error happening with the message "Unexpected end of input". So this brings up three questions:

  1. What could be causing the "Unexpected end of input" error in Chrome/IE? Has this been reported before?
  2. Why would a dataSource.Error event cause the dataSource.requestEnd event not to contain the argument type property (even though the argument itself is not null) ? 
  3. And is there a way to know, in these cases, if it is an update  taking place?
We are using the latest SP build, jQuery 1.9 with jQuery migration script. Again it works fine in Firefox

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 23 May 2013, 06:47 AM
Hello,

 This is not a known problem. We did a quick search and got the following result: http://stackoverflow.com/questions/3983088/javascript-error-uncaught-syntaxerror-unexpected-end-of-input. This error can happen if there is invalid JavaScript in your page. We cannot tell more until we reproduce the error locally. You may consider opening a support ticket and attaching a sample application in it.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Eric J at FADV
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or