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

Using Kendo Grid with System.Web.Optimization

0 Answers 153 Views
Grid
This is a migrated thread and some comments may be shown as answers.
flipdoubt
Top achievements
Rank 1
flipdoubt asked on 23 Nov 2012, 10:18 PM
Is there any general advice for using Kendo Grid with style and script bundles from the ASP.NET Web Optimization framework? My web app works fine with optimizations disabled, but Firebug reports four JavaScript errors when optimizations enabled:
TypeError: f is undefined
http://localhost:53917/Scripts/Kendo/kendo.aspnetmvc.min.js
Line 9
 
TypeError: f is undefined
http://localhost:53917/Scripts/master?v=z6jNo6rVh7mOahMFu9siQ94qOttTDJz8JZAyypCOfA01
Line 1
 
TypeError: e is undefined
http://localhost:53917/Scripts/Kendo/kendo.aspnetmvc.min.js
Line 9
 
TypeError: jQuery("#Grid").kendoGrid is not a function
http://localhost:53917/Search/Index/3
Line 157
The bundle doesn't even include any Kendo files:
bundles.Add(new ScriptBundle(MasterScript).Include(
                "~/Scripts/jquery-1.8.2.js",
                "~/Scripts/jquery-ui-1.9.0.js",
                "~/Scripts/knockout-2.0.0.js",
                "~/Scripts/jquery.gritter.js",
                "~/Scripts/jquery.ui.selectmenu.js",
                "~/Scripts/Site.js"));
Are people using Kendo Grid with Web Optimizations without any errors?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
flipdoubt
Top achievements
Rank 1
Share this question
or