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.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.