Friday, July 20, 2012

Partial versus RenderPartial

@Html.Partial("Whatever", myModel)

...is going to work standalone in a view while...

Html.RenderPartial("Whatever", myModel)

...is going to work inside of a code loop as shown here, as best as I can tell.

No comments:

Post a Comment