Editing a Report Template in the Designer
Our sample projects and report templates can help you learn the basics of working with our products.This example shows how to edit a report template in the designer. First, load scripts:
Then, add report designer:
After that, create empty report object and load report template:
Finally, create save method:
In the screenshot below you can see the result of the sample code:

@using Stimulsoft.Base
@using Stimulsoft.Report
@using Stimulsoft.Report.Blazor
@using Stimulsoft.Report.Web
Then, add report designer:
<!--Report Designer-->
<StiBlazorDesigner Report="@Report" OnSaveReport="@OnSaveReport" />
After that, create empty report object and load report template:
@code
{
//Report object to use in Designer
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");
}
...
Finally, create save method:
...
private void OnSaveReport(StiSaveReportEventArgs args)
{
args.Report.Save("Reports/TwoSimpleLists.mrt");
}
}In the screenshot below you can see the result of the sample code:
