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.

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.