title: ReportViewer in MVC 4 partial
body: <p>I am still unsure the best way to go about it.</p>
  
  <p>I've read alsorts of resources, yet still no closer to a working solution.</p>
  
  <ol>
  <li><p>I created a partial ASCX file. Added Report viewer to it, then rendered said partial in my CSHTML file. This was the closest I have come. In that I can see the report viewer, buttons etc. But for some reason the data never shows.</p></li>
  <li><p>I have tried ASPX page inside an <code>IFrame</code> But this is not the way I want to go, about making this solution work.</p></li>
  <li><p>Loading an ASPX page outright. But I lose my <code>_Layout.cshtml</code> main page style.</p></li>
  </ol>
  
  <p>Some people suggest changing all sorts of things in config / Global.asax where as some say its not even necessary.</p>
  
  <p>Ideally I want to have it as a partial in a page. But can deal with it being the only thing on the page, if I keep my main layout.</p>
  
  <p>My experience with the older syntax / pages / non-MVC is limited to this project - trying to get this to work.</p>
  
  <p>My data is linked through the components setup. The connection works fine in aspx page, as single page or iframe. But not in ascx.</p>