I\'m trying to replace part of a page with a partial view in ASP.Net MVC 5 (Visual Studio 13) using the following:
Views/Book/Index.cshtml:
As an additional note on getting this working. I'm hoping VS 2013 RTM includes this but either way this should get you up and running
install-package Microsoft.jQuery.Ajax.Unobtrusive
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.unobtrusive*",
"~/Scripts/jquery.validate*")
);
@Scripts.Render("~/bundles/jquery")
or include it in each view you want to use it in
@section Scripts {
@Scripts.Render("~/bundles/jqueryval")
}