Reputation: 1
I try to implement Telerik Report in my WebApp and get runtime error.
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'.
These are the methods I use:
These steps worked fine, with data going correctly as planned. In the view part, I use method found in this demo : http://www.telerik.com/community/code-library/reporting/general/using-telerik-web-reportviewer-in-asp-net-mvc-application.aspx
I simply copy those views into my project and pass the model from controller to be passed to ReportViewer1.ReportSource
(instead of creating a new one like in the demo project)
Can anyone please help me with this? Thanks.
Upvotes: 0
Views: 5859
Reputation: 11
There is released a preview of the beta HTML5 Report Viewer - Bringing the Power of HTML5 to Telerik Reporting
Upvotes: 1
Reputation: 76
Please try the steps outlined here - http://blogs.telerik.com/careypayette/posts/13-03-26/telerik-reporting-in-mvc-sure-it-takes-8-quick-steps-
Upvotes: 0