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

Site broken after Kendo upgrade

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 18 Mar 2017, 10:44 PM

Hi All,

I am trying to get a site working after Kendo was upgraded from 2014.3.1119 to 2017.1.223. I carelessly updated a whole lot of NuGet packages at once, so Knockout, Durandal and a bunch of other things were also updated. I think I have all the dependencies right but I am still getting one error:

0x800a138f - JavaScript runtime error: Unable to set property 'ns' of undefined or null reference

This occurs at the line:     kendo.ns = "kendo-";   See the attached screenshot.

I would infer that "kendo" is not defined but I can't see why it would not be. A very old backup version of the same code (referring to older versions of Kendo and knockout) is working fine.

Any suggestions would be welcome.

Thanks in advance,

Rob

 

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 21 Mar 2017, 03:31 PM
Hello Rob,

I am copying my reply from the support ticket that you opened in case someone else is looking at this thread:

Since the beginning of 2016, Kendo UI uses named AMD modules to address a number of other issues with the RequireJS support. That is why it is needed to use the full names of the modules when adding them to the config.
You can see sample code in this documentation article
.

If you keep seeing errors after this, please post back in the support thread. If you want to share the results with the community, you can post a summary of the actions taken after all problems are resolved.

Regards,
Tsvetina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or