Html.Partial vs Html.RenderPartial & Html.Action vs Html.RenderAction

后端 未结 13 1044
感动是毒
感动是毒 2020-11-22 04:03

In ASP.NET MVC, what is the difference between:

  • Html.Partial and Html.RenderPartial
  • Html.Action and Html.
13条回答
  •  星月不相逢
    2020-11-22 04:29

    According to me @Html.RenderPartial() has faster execution than @Html.Partial() due to Html.RenderPartial gives a quick response to Output.

    Because when I use @Html.Partial(), my website takes more time to load compared to @Html.RenderPartial()

提交回复
热议问题