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

kendo.all works with require, but not kendo.core

1 Answer 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 12 May 2016, 08:56 PM

Hello,

We’ve been using require to pull in Kendo DataSource for our Odata calls. We need to now use Odata V4 so we’re trying to update to the latest version. Since updating to version 2016.2.504 of kendo.core.min the kendo object is loaded, but the Kendo.data.DataSource object is missing. This is not an issue using kendo.all.min. I’ve noticed that not only is the DataSource object missing, but many others are too. 

I’ve taken the second example here, http://docs.telerik.com/kendo-ui/third-party/using-kendo-with-requirejs, and modified it to use version 2016.2.504 of kendo.core.min (http://dojo.telerik.com/ILAFO). You’ll notice that the error 'kendo.DropDownList is not a function’ is thrown even though DropDownList is one of the supported widgets of Kendo UI Core.

 

Is there something I'm doing wrong with how I load in core vs all? 

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 16 May 2016, 07:11 AM
Hi,

most likely, you are mistaking kendo.core with kendo.ui.core (and this by no means is your fault - we did not manage to come up with a better name). I modified your dojo.

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