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

Chart Not Displaying

0 Answers 103 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 19 Nov 2012, 09:19 PM
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

No answers yet. Maybe you can help?

Tags
Charts
Asked by
Dennis
Top achievements
Rank 1
Share this question
or