I have a view that is not strongly typed. However I have in this view a partial view that is strongly typed.
How do I do I pass the model to this st
Put the object required by the partial into Viewdata and use ist in the view as input for the partial.
public ActionResult Test()
{
ViewData["DataForPartial"] = new PartialDataObject();
return View("Test")
}
In the view use:
<% Html.RenderPartial("PartialView",ViewData["DataForPartial"]); %>
But anyway: There is no reason no to have a stronly typed view.