A report can be rendered and exported to a file — or streamed to the browser as a download — straight from Blazor code.

Render, then export.
var report = new StiReport();
report.Load("Reports/TwoSimpleLists.mrt");
report.Render(false);

// Save to a file...
report.ExportDocument(StiExportFormat.Pdf, exportFilePath);

// ...or stream it to the browser as a download
StiReportResponse.ResponseAsPdf(report);

How it works. The prepared report is format-agnostic, so the same render can be saved server-side or pushed to the user as a download.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.