I have a strongly typed partial view which is giving me \"Object reference not set to an instance of an object\" error when I launch the master view. I know I am not passing
You have to pass some Model to your partialView, because it need a instance of IEnumerable
<% Html.RenderPartial("DisplayPartial", model); %>
Or, you can check in your partial view if the model is not null.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl>" %>
<% if (Model != null) {
foreach (var item in Model) {
if (item == null) continue; %>
<%: item.Item1%>
<%: item.Item2%>
<% }
} %>