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

Is DataViz incompatible with Web libraries?

1 Answer 129 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 26 Feb 2013, 07:49 PM
I created a project using ListView just fine.

Then I created a DataViz project separately.

Each work fine in separate HTML pages, but when I combined them I get this error in Chrome:
Uncaught TypeError: Cannot call method 'toLowerCase' of undefined
kendo.web.min.js:12
I can get the error to stop by either removing the line where my listView is initialized with a datasource and template, or by commenting out the DataViz library.

It seems really strange that these two libraries would be incompatible but that seems to be the case. Has anyone had any luck using a ListView and Chart together in one place?

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 27 Feb 2013, 01:42 PM
Hello Nathan,

Generally speaking, if you are using Kendo UI widgets from different suites it is recommended to use kendo.all.min.js file instead of separate kendo.web.min.js or kendo.dataviz.min.js. Please note that kendo.all.min.js is a combined file which contains minified version of all scripts (Web, DataViz, Mobile). In case you prefer to add the separate files, keep in mind that kendo.dataviz.min.js should be included before kendo.web.min.js. For more detailed information please check the corresponding documentation.

Kind regards,
Iliana Nikolova
the Telerik team
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
Nathan
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or