title: Pass ViewData to RenderPartial
body: <p>I'm trying to call this method:</p>
  
  <pre><code>RenderPartialExtensions.RenderPartial Method (HtmlHelper, String, Object, ViewDataDictionary)
  </code></pre>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/dd470561.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/dd470561.aspx</a></p>
  
  <p>but I don't see any way to construct a ViewDataDictionary in an expression, like:</p>
  
  <pre><code>&lt;% Html.RenderPartial("BlogPost", Post, new { ForPrinting = True }) %&gt;
  </code></pre>
  
  <p>Any ideas how to do that?</p>