Sunday, August 7, 2011

of RenderPartial

Basic:

@{Html.RenderPartial("Foo");}

 
Pass a model to the partial:

@{Html.RenderPartial("Foo",model.MyCollectionOfChildren);}

No comments:

Post a Comment