This example shows how to localize the viewer. First, load scripts:
@using Stimulsoft.Base
@using Stimulsoft.Report
@using Stimulsoft.Report.Blazor

Next, apply localization:
<!--Report Viewer-->
<StiBlazorViewer Report="@Report" Localization="Localization/pl.xml" />

Finally, initialize the viewer:
@code
{
    private StiReport Report;

    protected override void OnInitialized()
    {
        base.OnInitialized();

        //Create empty report object
        this.Report = new StiReport();

        //Load report template
        this.Report.Load("Reports/TwoSimpleLists.mrt");
    }
}

In the screenshot below you can see the result of the sample code:

Localizing the Viewer

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.