Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 26, 2012 11:39 AM by andri745
Aug 17, 2012 08:31 AM|LINK
I m using Bundling feature in my MVC 4 application. I have integrated KendoUI for same. My code is
// Bundle.config file
I get No Error , still The scripts are not loaded . EVen they are not showing in FirBug.
Kindly assist me where I m going wrong .
Aug 17, 2012 08:44 AM|LINK
They are there but they are bundled into a single script or css file.
Aug 17, 2012 12:33 PM|LINK
Go through the tutorials here to understand about Bundling.
Aug 17, 2012 06:28 PM|LINK
Im aware about bundling feature, But Im saying they are not loaded as I checked through Firebug.
Also, I get Error in my custom script code for that plugin as not loaded . So I commented my custom sript than run the proj , it runs without any error But plugin not loaded . Even my path are correct . So how can I debug the problem .
Kindly assist me where im goin wrong .
Aug 18, 2012 10:30 PM|LINK
please paste a screenshot of firebugs trace
Aug 19, 2012 05:52 AM|LINK
I have attached the screenshots for same .
http://www.flickr.com/photos/55961659@N05/7812985294/in/photostream // FireBugTrace
http://www.flickr.com/photos/55961659@N05/7812985734/in/photostream // Hierarchy Js
http://www.flickr.com/photos/55961659@N05/7812985596/in/photostream // bundleConfig.cs
http://www.flickr.com/photos/55961659@N05/7812985466/in/photostream // Calling in LayOut.cshtml
Please go through same and let me know if im goning wrong somewhere .
Aug 19, 2012 05:35 PM|LINK
I've noticed the same problem! NOTE: jquery, jqueryui, jqueryval, and modernize all work as expected, its just Kendo refuses to work; only thing unique I've noticed is that Kendo is using .min.js source files...
If you turn off debug in web.config:
<compilation debug="false" targetFramework="4.5" />
it works as expected.
If you remove the ".min" from the .css & .js file names themselves (in the Content & Scripts folders as well as on the bundles.add statements) it works as expect.
I would expect this to just work, not requiring implement either of the above workarounds. It should be smart enough to go there is only a .min file, so it will use that in both debug & release modes. It worked in the RC after all!
Aug 20, 2012 03:43 PM|LINK
Found a possible solution:
.min.js & .min.css are on the IgnoreList by default, the above solution entails removing these entries from the IgnoreList.
Hope this helps
Aug 23, 2012 06:55 PM|LINK
This is a really bad bug/oversight on Microsoft's part. If I explicitely add a .min file, it should be included. Also, if there is no non-minified file, it should be included. Making things a bit too automatic was a very poor choice here. Where should I
file a bug?
Sep 25, 2012 08:57 PM|LINK
You're correct - this is a bug and is being tracked at