renderpartial with null model gets passed the wrong type
I have a page: <%@ Page Inherits=”System.Web.Mvc.View<DTOSearchResults>” %> And on it, the following: <% Html.RenderPartial(“TaskList”, Model.Tasks); %> Here is the DTO object: public … Read more