Unexpected End of Input and Grid Response End and Error Events

2 posts, 0 answers
  1. Eric J at FADV
    Eric J at FADV avatar
    17 posts
    Member since:
    Oct 2012

    Posted 22 May 2013 Link to this post

    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
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 23 May 2013 Link to this post

    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!
Back to Top