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

[Solved] Grid add, update & delete operations fail after update to 2014.1.318

6 Answers 180 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cool Breeze
Top achievements
Rank 1
Cool Breeze asked on 23 Mar 2014, 09:07 PM
Hello,

I just opened up the MVC 4 Kendo UI project I am working on and the dev environment prompted me to update my project to 2014.1.318. I did so and let it do it's thing which took about 10 minutes. All is well except for my kendo bundles path not being correct anymore due to the upgrade changing the folder name to a version specific folder (I wish it didn't do that). Anyway, updating the path in the BundleConfig is easy enough and I fired up the site and thought all was well...until I went to add a record to a table to a grid (it was previously working, I have about 10 grids that were working and now none of them are as far as adding, updating and deleting). The grid is using InLine edit mode and is for maintaining a very simple 2 column table with ID and Description. Nothing complicated. Everything was constructed using the examples and documentation.

When I go to update, the grid does kick the row into edit mode and allow me to change the description, but when I click the update button nothing happens and I see that there is  JavaScript syntax error somewhere. I do a little debugging and find that in jquery-1.8.2.js on line 5303:
var ret = matches.call( elem, expr );

expr at this point equals [type='checkbox'] at this point. I am not using any checkboxes in my app.

Anyone?


6 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 25 Mar 2014, 12:34 PM
Hi Joe,

Please note that the latest version of KendoUI supports jQuery v.1.9+ and you should update to that version. For more information you can check the following help article:

Also if you have another scripts on the page which requires older versions of jQuery to work you can include the jQuery Migrate script as well. 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Cool Breeze
Top achievements
Rank 1
answered on 25 Mar 2014, 06:09 PM
Oh, Ok thanks. I will try updating my script library and post back here if that works.

Thanks!
0
Cool Breeze
Top achievements
Rank 1
answered on 13 Sep 2014, 11:05 PM
What a mess. I'm back at this... So, I'm using Kendo UI v2014.2.909.340.

I create a new project using the template "Telerik C# MVC Web Application" (choosing the kendo version listed above). I try and run the app and bang, it blows up out of the box, without me making any changes. The error reads as follows: 'jQuery' is undefined. It occurs when the PanelBar is trying to get created.

In the "Scripts" folder I can see that jquery 1.8.2 is installed. I thought according to the link you sent me that 1.9.1 is required? If that is the case, why does it copy in 1.8.2 when you create a new project rendering a new project broken?

I use NuGet to update my version to 1.9.1. Still no luck, same error. What am I missing here???

Thanks!
0
Cool Breeze
Top achievements
Rank 1
answered on 13 Sep 2014, 11:08 PM
Sorry, the Kendo.Mvc assembly is version 2014.2.909.440. What JQuery version does this depend on I guess is the real question. Thanks!
0
Cool Breeze
Top achievements
Rank 1
answered on 13 Sep 2014, 11:17 PM
Seems to happen only when enabling CDN support in the project setup wizard.
0
Vladimir Iliev
Telerik team
answered on 15 Sep 2014, 08:34 AM
Hi Joe,

You can check the following help article which describes which jQuery version is required by each Kendo UI release:
Also the scripts are not loaded as the CDN contains the scripts only from official releases, however the pointed version is from internal build (the VS extension build the CDN links based on the referenced Kendo.Mvc.dll version). In current case I would suggest to either use the latest official release from the CDN (v.2014.2.903) or include the needed scripts and styles in the project.

Regards,
Vladimir Iliev
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
Cool Breeze
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Cool Breeze
Top achievements
Rank 1
Share this question
or