How to refresh partial view by another partial view without scripting?

时间:2016-04-25 09:21:48

标签: asp.net-mvc

I want to refresh partial view by another partial view. My structure would be

I want to update 3rd partial view on the submit of first partial view

I am rendering first partial from main Index view by using

@{Html.RenderAction("SearchMenu", "Search");}

1 个答案:

答案 0 :(得分:0)

你必须使用ajax,我不认为还有其他可能的解决方案,你可以查看这个答案:How to update partial view from another partial view via action results  我希望它会为你工作