I'm using the Angular directive for the report viewer and all I need it to do is display a report with data I have already filtered. Our app has filters on top that sends a query to get the data from a service and then I want to render using the report viewer. Problem is that the report viewer shows a Parameters screen and a view report button on the side.
Can this be bypassed?
I tried to supply the parameters myself using the e-parameters attribute on the control and supplied all the values. Now the report doesn't render at, and at the second POST to the PostReportAction (supplying the data, and in this case the parameters as well), I get this response:
"Sf_Exception - System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.\r at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r at Syncfusion.EJ.ReportViewer.ReportViewerModel.UpdateJsonReportModel(ReportModel reportmodel, Dictionary`2 json)\r at Syncfusion.EJ.ReportViewer.ReportHelper.GetDataSourceCredential(Dictionary`2 jsonResult, IReportController _reportController)\r at Syncfusion.EJ.ReportViewer.ReportHelper.ProcessReport(Dictionary`2 jsonResult, IReportController reportController)"
Can anyone please help?
Thanks