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

Single UI Component Inlcludes

1 Answer 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ryan Lewis
Top achievements
Rank 1
Ryan Lewis asked on 25 Sep 2013, 09:26 PM
Hello,
I'm trying to cut down on my JS files and use only the Kendo elements I need, but I'm running into some errors. 

This works fine:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ></script>
<script src="JS/kendo/kendo.all.min.js"></script>
However this does not:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ></script>
<script src="JS/Kendo/kendo.combobox.min.js"></script>
When running my code with the second code block, I get the error: Uncaught TypeError: Cannot read property 'jQuery' of undefined, which is caused by the variable 'window.kendo.jquery' not being set. 

Is there something else that I need to include with the individual components to get them to work? I can use kendo.web.min.js as a workaround for the time being, but I'd like to only use the components individually if possible.

Thanks!
Ryan

1 Answer, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 26 Sep 2013, 12:23 AM
Tags
General Discussions
Asked by
Ryan Lewis
Top achievements
Rank 1
Answers by
Ryan
Top achievements
Rank 1
Share this question
or