The partial helper method is used to render a partial view into a string. Note It is not necessary to specify the path and file name extension for the view because the run-time location portion of the view is the same logic used to locate the normal view . For example, the following code renders a partial view named Albumdisplay. The runtime uses all available view engines to find:
@Html. Partial ("Albumdisplay")
The RenderPartial helper method is very similar to the partial, but the renderpartial is not a return string but is written directly to the response output stream. For this reason, renderpartial must be placed in a code block, not in a code expression. To illustrate this, the following two lines of code write the same content to the output stream:
@{html.renderpartial ("Albumdisplay");}
@Html. Partial ("Albumdisplay")
So, which method should I use? In general, because partial is more convenient than renderpartial , you should select partial. However,RenderPartial has better performance because it is written directly to the response stream, but this performance advantage requires a lot of use (high site traffic or repeated calls in the loop) to see it.
--Excerpt from "ASP. MVC4 Advanced Programming" (fourth edition)
Html.partial and html.renderpartial in MVC