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 16927 time(s), 2 post(s)., 1/11/2014 8:52:54 PM - by James

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
1
Jude
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
2