Dim report As StiReport
StiOptions.Print.AllowUsePaperSizesFromPrinterSettings = False
StiOptions.Print.UsePrinterSettingsEntirely = True
report = New StiReport()
report.Load(_ReportName)
GetReportData(report)
report.Render()
report.Print(False)
When I let run the above code in debugger it works correctly.
But when I publish the code to the webserver an I let run the same code it hangs on the report.Print(False) Statement and the Browser is waiting for an answer from the server.
report.Print hangs
-
- Posts: 7338
- Joined: Tue Mar 20, 2018 5:34 am
Re: report.Print hangs
Hello,
Your code occurs printing on the server side. Not on the client.
Please check the following samples:
https://www.stimulsoft.com/en/samples/a ... -from-code
Thank you.
Your code occurs printing on the server side. Not on the client.
Please check the following samples:
https://www.stimulsoft.com/en/samples/a ... -from-code
Thank you.