First you need to download JqueryUI via their website or
Nuget Package manager, Once you get it in your project you need to add it into BundleConfig.cs file like below:
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-{version}.js"));
}
}
Now you can add it in your _Layout page :
@Scripts.Render("~/bundles/jqueryui")
No comments:
Post a Comment