Html.partial and html.renderpartial do not need to specify a path and file name extension for the view. Because the runtime locates part of the view with the same logic used to locate normal vision.
RenderPartial is not a return string, but a direct write to the response output stream. The renderpartial must be placed in a code block. Such as:
@{html.renderpartial ("Leftmenu");}
@Html. Partial ("Leftmenu")
Html.action and Html.renderaction
You can specify views and controllers. Similar to html.partial and html.renderpartial
Renderaction is not a return string, but a direct write to the response output stream. The renderaction must be placed in a code block. Ditto. You can also include the [childactiononly] attribute on the action method. Avoid invoking the runtime directly from a URL.
Html.partial and Html.renderpartial, html.action and html.renderaction differences