Html.RenderAction uses Post instead of Get

前端 未结 3 917
我寻月下人不归
我寻月下人不归 2021-01-13 16:35

I have a simple form on my page. When submitted, it checks if ModelState.IsValid and returns the View with the same model if it\'s not valid.

On the sam

3条回答
  •  遥遥无期
    2021-01-13 16:59

    Would RenderPartial be an option for you?

    More discussion on this topic can be found here: RenderAction calls wrong action method

提交回复
热议问题