Sunday, 18 May 2014

ASP MVC : difference between HTML.Partial and HTML.RenderPartial?

Interesting point.
I found there are little difference. But there are difference in writing.

@Html.Partial("Viewname"); // returns like a string
@{ Html.RenderPartial("Viewname"); } // returns like a method

while I'm note this learning I don't if there are more difference further.

No comments:

Post a Comment