Chart Not Displaying

1 posts, 0 answers
  1. Dennis
    Dennis avatar
    38 posts
    Member since:
    Aug 2012

    Posted 19 Nov 2012 Link to this post

    I had this working at one point for a 3.5 application. I am not trying it on an asp.net mvc 4.0 application. It is using bundles. The problem I had before was that either my .css or my .jss files had to be in a particular order. I'm not positive if it is the order or if I'm missing something.

    In my _layout.cshtml I have:
     @Styles.Render("~/Content/css")
        @Styles.Render("~/Content/kendo")
        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/kendo")

    in BundlesConfig.cs I have:
    bundles.Add(new StyleBundle("~/Content/css").Include(
                        "~/Content/site.css"));

     bundles.Add(new StyleBundle("~/Content/kendo").Include(
                        "~/Content/kendo/2012.3.1114/kendo.common.*",
                        "~/Content/kendo/2012.3.1114/kendo.black.*",
                        "~/Content/kendo/2012.3.1114/kendo.dataviz.*"));

    bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                            "~/Scripts/jquery-1.8.2.js"));

     bundles.Add(new StyleBundle("~/Content/kendo").Include(
                        "~/Content/kendo/2012.3.1114/kendo.common.*",
                        "~/Content/kendo/2012.3.1114/kendo.black.*",
                        "~/Content/kendo/2012.3.1114/kendo.dataviz.*"));


    Thanks
    Dennis
Back to Top