does anybody knows what's differences between Html.RenderAction and Html.Action?
+1
A:
Html.Action – Outputs String
Html.RenderAction – Renders Directly to Response
Response stream is the better performance from string output
Megawolt
2010-06-02 05:45:51
So when would you use Html.Action if RenderAction gives better performance?
Vince
2010-10-19 21:50:04
+1
A:
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
VoodooChild
2010-06-02 05:46:58