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

Kendo grid no longer can be created

2 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 22 Mar 2013, 03:46 PM
After upgrading from v2012.2.913 to v2012.3.1315 my kendo grid no longer draws.  I had been using jQuery 1.7.1, but I did try upgrading to 1.9.1.  The error is the same.  Here's all the info I can give you.

  - The error happens inside kendo.draganddrop.js.
 - I was using the minified versions, but replaced them with the full version in order to see exactly where the error occurs.
 - The error happens  at line 555 where the new object is receiving the cancel property.  
 - I know this because I stepped through everything until that point.  Pressing F11 (step into) fails.
 - The error is "undefined is not a function"
 - "proxy", "that._cancel", and "that" are all defined.
 - Google Chrome debugger screenshot attached showing the exact instant before the error occurs.
 - Google Chrome error file attached showing what happens when F11 is pressed from this state.

The reason I updated from 1.7.1 is because I found that calling destroy() on a grid was throwing an error.  I was going to post a thread on that issue, but thought the answer would be "upgrade" so I tried that first.  Now I can't even generate the grid.

2 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 22 Mar 2013, 03:57 PM
Update:

The constructor UserEvents is not defined!  In Chrome's JS window, here is what I typed, and here are the results:

> typeof UserEvents
"undefined"

> typeof kendo
"object"

> typeof kendo.UserEvents
"undefined"

Of course line 18 of this file is what sets up UserEvents as:
UserEvents = kendo.UserEvents

So if kendo.UserEvents is missing, this fails.  I hope this provides more information.
0
Dimo
Telerik team
answered on 25 Mar 2013, 02:24 PM
Hi Paul,

Kendo UI 2012.3.1315 requires jQuery 1.8.2. Please refer to our documentation for additional details.

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

If the problem persists even with the correct jQuery version, please provide a runnable demo and I will take a look.

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