Steps to Apply a Bootstrap theme,
Step 1 : Copy all the Css and Java scripts inside the application.
Step 2 : Then add the related css files and java script files in the bundle.config like the below code.
Scripts:
bundles.Add(new ScriptBundle("~/bundles/jqgrid").Include(
"~/Scripts/free-jqGrid/i18n/grid.locale-en.js",
"~/Scripts/free-jqGrid/jquery.jqgrid.min.js"));
CSS :
bundles.Add(new StyleBundle("~/Content/magictheme").Include(
"~/Content/bootstrap-dialog.css",
"~/Content/assets/plugins/bootstrap/css/bootstrap.min.css"));
Step 2 : Add a layout.cshtml add these bundle names :
CSS :
<!-- standard jqGrid CSS -->
@Styles.Render("~/Content/magictheme")
Scripts :
@Scripts.Render("~/bundles/jqgrid")
Step 2 : Please clear the browser history and then try again. These are the steps for bundling in ASP.NET MVC application.
If you are adding a wrong path of either css file or a java script file , you will be getting errors in the Bundle.config. Just check if all the paths specified in the bundle.config are correct.
Please let me know if you have any issues.