I tried the MVC helper and the standard HTML5 viewer. I'm curious if anyone can successfully upload a report containing the parameters with the help of new viewers. I can not get any feedback from Telerik.
@{ var report = new UriReportSource() { Uri = "TestReport.trdx" }; report.Parameters.Add(new Telerik.Reporting.Parameter() { Name="UserId", Value=1234 }); report.Parameters.Add(new Telerik.Reporting.Parameter() { Name = "UserName", Value = "Test User" }); } @(Html.TelerikReporting().ReportViewer() .Id("reportViewer1") .ServiceUrl("/api/reports/") .TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html") .ReportSource(report) .ViewMode(ViewModes.INTERACTIVE) .ScaleMode(ScaleModes.SPECIFIC) .Scale(1.0) .PersistSession(false) )
telerik telerik-reporting
Precision roy
source share