Web Programming

Only members of this group can post notes and use other group resources. Join now to get access to all group resources!
Log in or register to join this group

.NET Html.Partial vs Html.RenderPartial  Viewed 50429 time(s), 2 post(s)., 1/11/2014 8:52:54 PM - by James

James 1/11/2014 8:52:54 PM

In MVC, what is the difference between Html.Partial vs Html.RenderPartial?

This content has not been rated yet. 
216 Reputation 15 Total posts
Jude 1/14/2014 10:14:49 PM

Html.RenderPartial writes the result directly to the response. It is a bit faster.

Html.Partial returns the HTML markup as string.

This content has not been rated yet. 
106 Reputation 16 Total posts