Blazor - Download PDF - error
Posted: Thu Jun 01, 2023 1:59 pm
Hi!
I make a PDF from report:
Stimulsoft.Report.Export.StiPdfExportSettings exportsettings = new();
exportsettings.AutoPrintMode = Stimulsoft.Report.Export.StiPdfAutoPrintMode.Silent;
StiReport report = new StiReport();
. . .
report.Render(true);
StiReportResponse.PrintAsPdf(report);
PDF is OK in browser window.
When I download it clicked on Download icon: "Network error".
Should I set anything? Or what is the solution?
Thank you
Attila
I make a PDF from report:
Stimulsoft.Report.Export.StiPdfExportSettings exportsettings = new();
exportsettings.AutoPrintMode = Stimulsoft.Report.Export.StiPdfAutoPrintMode.Silent;
StiReport report = new StiReport();
. . .
report.Render(true);
StiReportResponse.PrintAsPdf(report);
PDF is OK in browser window.
When I download it clicked on Download icon: "Network error".
Should I set anything? Or what is the solution?
Thank you
Attila