@Html.Partial("ViewName")
@{ Html.RenderPartial("ViewName"); }
<%: Html.Partial("ViewName") %>
<% Html.RenderPartial("ViewName"); %>
@Html.RenderPartial()
has faster execution than @Html.Partial()
due to Html.RenderPartial gives a quick response to Output.
Html.RenderAction
is void
that means it directly render the responses in View where return type of Html.Action
is MvcHtmlString
you can catch its render view in controller and modify it
Add comment