Partial/RenderPartial

Partial helper renders a partial view into a string. Partial view contains reusable markup that you want to render from inside multiple different view. It uses same logic that runtime used to locate a normal view. You no need to specify any path

Example:

             
    @Html.Partial("PartialViewName")
     
            

RenderPartial is similar to Partial helper but it writes directly to the response output stream instead of rendering string . So you must place ‘RenderPartial‘ inside the code block.

Example:

             
@{@Html.RenderPartial("PartialViewName")}