title: Telerik reporting in ASP.NET MVC 4 project
body: <p>I try to implement Telerik Report in my WebApp and get runtime error.</p>
  
  <blockquote>
    <p>Exception Details: System.TypeLoadException:
    GenericArguments[0],'BuilkReport.Areas.Report.Template.PoReport', on
    'Telerik.Reporting.XmlSerialization.Current.ReportSerializable`1[TReport]'
    violates the constraint of type parameter 'TReport'.</p>
  </blockquote>
  
  <p>These are the methods I use:</p>
  
  <ol>
  <li>Create a telerik report and create parameters for its constructor</li>
  <li>Create a model using Telerik.Reporting.InstanceReportSource as one of data members</li>
  <li>Use controller to get proper parameter for the model, then pass it to the view</li>
  </ol>
  
  <p>These steps worked fine, with data going correctly as planned. In the view part, I use method found in this demo : <a href="http://www.telerik.com/community/code-library/reporting/general/using-telerik-web-reportviewer-in-asp-net-mvc-application.aspx" rel="nofollow">http://www.telerik.com/community/code-library/reporting/general/using-telerik-web-reportviewer-in-asp-net-mvc-application.aspx</a></p>
  
  <p>I simply copy those views into my project and pass the model from controller to be passed to <code>ReportViewer1.ReportSource</code> (instead of creating a new one like in the demo project)</p>
  
  <p>Can anyone please help me with this? Thanks.</p>