Does the new viewer support reports in a class library? I thought this may work, however I am receiving this error:
Type 'Telerik.ReportViewer.Html5.WebForms.ReportSource' in Assembly 'Telerik.ReportViewer.Html5.WebForms, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' is not marked as serializable.
This is the code I am using to display the report.
Protected Sub CmdReport1Click(sender As Object, e As System.EventArgs) Handles cmdReport.Click If Page.IsValid Then Dim typeReportSource As New Telerik.ReportViewer.Html5.WebForms.ReportSource Dim val As New Telerik.ReportViewer.Html5.WebForms.Parameter val.Name = "MYMONTH" val.Value = txtRep1Parameter1.Text typeReportSource.IdentifierType = Telerik.ReportViewer.Html5.WebForms.IdentifierType.TypeReportSource typeReportSource.Identifier = "IntranetReports.Admin.OfficeManager.CeBooking, IntranetReports" typeReportSource.Parameters.Add(val) ReportViewer1.ReportSource = typeReportSource End IfEnd SubThank you
Scott