Using JS Viewer with SectionReportModel

Posted by: ldutton on 7 March 2019, 1:50 am EST

    • Post Options:
    • Link

    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.

  • Posted 7 March 2019, 9:23 pm EST

    Hello,

    I am facing the problem while previewing the CodeBasedReport in VB.net application. Hence, I have escalated the case to our developer team(270566) and will inform you once I get any information from them.

    Thanks.

  • Posted 19 March 2019, 7:23 pm EST

    Hello,

    Please refer to the attached application to preview the code based report in JSVIewer.

    Thanks.

    JS_Viewer_CodeBasedReport.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels