This is my first time to try DHX suite. I want to try it in my .NET MVC project. First of all, I want to use dhtmlxLayout in _Layout.cshtml, and use its one “cell” for @RenderBody(). Here are my questions:
-
How do I modify the BundleConfig.cs file?
I tried the following:
bundles.Add(new ScriptBundle(“~/bundles/DHX”).Include(“~/Scripts/DHX/dhtmlx.js”));
bundles.Add(new StyleBundle(“~/Content/DHX”).Include(“~/Content/DHX/dhtmlx.css”));
Is that correct? -
How do I include DHX suite in _Layout.cshtml?
I tried the following:
@Scripts.Render(“~/bundles/DHX”)
@Styles.Render(“~/Content/DHX”)
Is that correct? -
Where should I put @RenderBody()?
Could anybody give me a sample code?
Thanks,