Why does Partial View show as full page in MVC 5 Visual Studio 13?

后端 未结 4 1219
春和景丽
春和景丽 2021-01-02 05:59

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:

4条回答
  •  无人及你
    2021-01-02 06:46

    Turns out that jquery.unobtrusive-ajax.js is not included by default. Adding it solved the problem.

提交回复
热议问题