title: Html.Partial not rendering partial view
body: <p>I have the following code in a view:</p>
  
  <pre><code>@if (SiteSession.SubPageHelper.DisplayType == DisplayType.List)
  {
      Html.Partial("_SubLandingPage_List");
  }
  else
  {
      Html.Partial("_SubLandingPage_Grid");
  }
  </code></pre>
  
  <p>and within the partials I just have a foreach loop like this:</p>
  
  <pre><code>@foreach (Product product in SiteSession.SubPageHelper.PagedProducts)
  {
        some html code here
  }
  </code></pre>
  
  <p>Where <code>PagedProducts</code> is got from doing a <code>.Take()</code> on a cached list of products</p>
  
  <p>Now the above code doesn't display my paged products but if I change the partial to include the at symbol remove the semi-colon:</p>
  
  <pre><code>@Html.Partial("_SubLandingPage_Grid")
  </code></pre>
  
  <p>It will display the products properly.  Can anyone tell me what the difference between the two version are as it took me ages to figure out why the products weren't displaying</p>