title: Pass data to partial view after it has been loaded
body: <p>Is there a way that I can pass data to a partial view after it has been rendered. I have a partial view in my _Layout which is rendered. It needs isHeaderShown. However this <code>isHeaderShown</code> can only be set after the <code>@RenderBody</code> is called because only the body controller has this info. </p>
  
  <p>I have in my layout.</p>
  
  <pre><code>@{Html.RenderAction("Index","_Menu", new { area = ""});}
  
  @RenderBody()
  </code></pre>