Stimulsoft provides native Blazor components, so the viewer is used as a Razor tag.

Viewer setup. Configure the viewer, load the report, assign it to the component, and process the requests or events raised by the UI.
@page "/"
@using Stimulsoft.Report
@using Stimulsoft.Report.Blazor

<StiBlazorViewer Report="@Report" />

@code {
    private StiReport Report;

    protected override void OnInitialized()
    {
        base.OnInitialized();
        this.Report = new StiReport();
        this.Report.Load("Reports/TwoSimpleLists.mrt");
    }
}
The <StiBlazorViewer> component binds to a StiReport through its Report parameter. The report is created and loaded in OnInitialized, and the viewer renders it in the browser.

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