When I try to render a partial view whose model type is specified as:
@model dynamic
by using the following code:
@{Html.Re
Instead of casting the model in the RenderPartial call, and since you're using razor, you can modify the first line in your view from
@model dynamic
to
@model YourNamespace.YourModelType
This has the advantage of working on every @Html.Partial call you have in the view, and also gives you intellisense for the properties.