jQueryUI is sometimes installed by default, depending on the template. If you find you need to install jQueryUI, follow the following steps.
* Note that this is assuming you use the default jQueryUI themes and want to include all style sheets (i.e., jquery.ui.all.css), as well as load these in the master layout.
* You can create bundles anyway you want, I included it with the jQuery bundle for simplicity.
- Install "jQueryUI combined" package from nuget
- Open ~/App_Start/BundleConfig.cs
- Add jQueryUI script and CSS to bundle
- bundles.Add(new ScriptBundle("~/bundles/jquery").Include("~/Scripts/jquery-{version}.js" ,"~/Scripts/jquery-ui-{version}.js" ));
- bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/bootstrap.css","~/Content/site.css","~/Content/themes/base/jquery.ui.all.css" ));
- Make sure ~/Views/Shared/_Layout.cshtml is loading these:
- @ Styles.Render( "~/Content/css")
- @Scripts.Render( "~/bundles/jquery")