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

asp.net mvc bundle web+dataviz product error

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Morten asked on 28 Jun 2014, 09:53 AM
if I bundle web and dataviz and use listview, pager and datasource in the same view I get an error.

Error: TypeError: s is undefined

BundleConfig.cs:
bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
"~/Scripts/kendo/kendo.web.js",
"~/Scripts/kendo/kendo.dataviz.js"));

If I remove the dataviz from the bundle things runs without error.

Any recommendations on bundling kendoui resources?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jul 2014, 06:02 AM
Hello,

The problem is that including kendo.web.js and kendo.dataviz.js at the same time is not supported. You should either include kendo.all.js or create a custom JavaScript via the custom download builder.

Regards,
Atanas Korchev
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
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Atanas Korchev
Telerik team
Share this question
or