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

Having an issue when referencing the web and dataviz files on same page...

2 Answers 32 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 1
Robin asked on 03 Oct 2013, 02:52 PM
If I include both the kendo.web.js and kendo.dataviz.js I get some bizarre errors happening.
See jsbin http://jsbin.com/uRATaJe/3/edit

This page just has an MVVM bound dropdownlist, and it keeps throwing an error.  While Chrome will go ahead and render the page correctly (edit: actually Chrome seems to crap out completely as well), Internet Explorer completely craps out.  If I remove the dataviz reference, the error goes away and all is well.

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 04 Oct 2013, 07:18 AM
Hello Robin,

Only one of the 'web', 'dataviz', 'mobile' or 'all' combined JavaScript files can be included at a time, because they contain some shared scripts. If widgets from different Kendo UI suites will be used simultaneously, the developer should either use kendo.all.min.js or create a custom combined JavaSript file via the custom download builder tool.

For more information please check the JavaScript dependencies page:

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Robin
Top achievements
Rank 1
answered on 04 Oct 2013, 01:00 PM
I hadn't seen that.  This is fixing so many small issues I had to workaround.

Thank you.
Tags
MVVM
Asked by
Robin
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Robin
Top achievements
Rank 1
Share this question
or