Passing Model Information to RenderPartial
1 answer
You can use the following overload so that you can pass the model in partial:
<% Html.RenderPartial("VenuesList", Model.SomeProperty); %>
or directly the model, if it has the correct type, is expected to be partial:
<% Html.RenderPartial("VenuesList", Model); %>
+11