title: Can't access ViewData in a partial view in ASP.NET MVC3
body: <p>I have a controller calling a view. In the view there is a partial view, inserted like this:</p>
  
  <pre><code>@{ Html.RenderPartial("PartialViewName", this.Model);} 
  </code></pre>
  
  <p>This works fine.</p>
  
  <p>But in the controller I wish to put something in the ViewData or ViewBag that I will use in the partial view. How can I do this?</p>