How can I refresh just a Partial View in its View?

前端 未结 3 697
北恋
北恋 2021-02-03 11:30

What Am I doing wrong guys? This is the idea...

Index view

@Html.Partial(\"PartialView\", Model)
3条回答
  •  野的像风
    2021-02-03 11:58

    Partial view is oriented to reuse some parts of the code in differents views but when you submit a form, the entire view is reloaded.

    If you dont want to reload yo have to use AJAX for submit the form.

提交回复
热议问题