In asp.net mvc2, what's the difference between
Html.Action(...)
and
Html.RenderAction(...)
?
Phil Haack does a great job explaining the two methods in this post.
"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."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With