Posted 8 May 2019, 5:54 am EST
I have converted the Windows side of my application to Flexreports and I am now attempting to convert the ASP.NET Web Forms version but having no luck of any kind. I am not using the Reportviewer, I have basically been loading the report file in code and then rendering it to a PDF.
I cannot find any useful documentation on how to do the same thing in ASP.NET Web Forms. Are there any tutorials on how to do this? Changing the project over to MVC or anything else is out of the question. I need this to work just like C1Report did. Any suggestions for me? Essentially I am using this code to accomplish the task with C1Report:
Dim c1rpt As New C1.C1Report.C1Report c1rpt.Load("MyReport.xml", "")) c1rpt.DataSource.ConnectionString = ConnStr c1rpt.RenderToFile(RptTempPath & "MyReport.pdf", C1.C1Report.FileFormatEnum.PDF)
Thanks,
Mike