Kendo spinner doesnt work with Bundling & minification

4 posts, 0 answers
  1. sai
    sai avatar
    11 posts
    Member since:
    Jul 2013

    Posted 14 Aug 2013 Link to this post


    Am using MVC4 project and followed the instructions given on this link. It works fine while debug flag is set to true in the web.config file. Which means that bundling and minification is disabled.

    when debug flag is set to false, bundling and minification is enabled, then kendo spinner (kendo.ui.progress) doesn't load. Not sure if am missing something. Could someone please advise.

  2. Daniel
    Daniel avatar
    2219 posts

    Posted 16 Aug 2013 Link to this post

    Hello Sai,

    In order for the icons to be loaded, the bundle path(without the name) should point to the same folder as the folder with the CSS files and the folder for the theme. We have a code library that demonstrates how to configure the bundles. Please check it on this page and let me know if it works for you.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. sai
    sai avatar
    11 posts
    Member since:
    Jul 2013

    Posted 19 Aug 2013 Link to this post

    Thanks Daniel,

    Below is the snippet from my bundleConfig.cs file, am registering the Kendo styles in this way - 

    bundles.Add(new StyleBundle("~/Contents/kendoStyles").Include(
    So when I set the debug flag to false in the web.config file. I found that in the fiddler its requesting images from a different folder. for eg for "sprite.png" its looking under the folder  "/Contents/Default/sprite.png" instead of "/Content/kendo/2013.2.716/Default/sprite.png". 

    The solution file that I downloaded from code library , I found that the folder structure is completely different to mine.
    I use versions in the folder name but the code library was not , So does this mean that I need to modify my folder structure and place all my kendo files directly under Scripts  and Contents folder instead of putting them in a separate folder.

    Please advise. I want to keep my folder structure, I dont want to dump all the kendo styles in to the top level folders.
  4. sai
    sai avatar
    11 posts
    Member since:
    Jul 2013

    Posted 20 Aug 2013 Link to this post

    I figured out. Changed the virtual path of the StyleBundle pointing to the actual directory in my solution.
Back to Top