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

后端 未结 4 1210
春和景丽
春和景丽 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

    I had the same problem drove me nuts with unobtrusive Ajax in MVC with a begin form select list filter getting updated and the list re-displayed as a partial view. I added the first two items below but realized I also needed the last two. Once added the partial view results appeared very nicely.

              
             
              
         
    

提交回复
热议问题