Posted 7 March 2019, 1:50 am EST
I am trying to convert my company’s reports from using the WebViewer to using the new JS Viewer. Currently, we are generating the report in the code behind and then setting the generated report to WebViewer.Report. I am trying to keep the changes to the code behind to a minimum, so my goal is to be able to do something similar to this with the JS Viewer.
Example of what we are doing:
'rptExampleReport is a VB class that inherits SectionReportModel.
Dim rpt As New rptExampleReport(Param1, Param2, Param3)
WebViewer1.Report = rpt
WebViewer1.Visible = True
I have not been able to successfully do this. Does anyone have any guidance or examples for doing something like this? Thanks.