Does anybody know what's the difference between Html.RenderAction and Html.Action?
40
votes
2 Answers
36
votes
27
votes
The difference between the two is that Html.RenderAction will render the result directly to the Response (which is more efficient if the action returns a large amount of HTML) whereas Html.Action returns a string with the result.
check out this link for a detailed explanation