Editing a Report Template in the Designer
Our sample projects and report templates can help you learn the basics of working with our products.Stimulsoft provides a native Blazor designer; assigning a report and handling its save event lets users edit and persist templates.
Place the designer.
How it works. The designer edits the bound report in the browser and raises
Place the designer.
<StiBlazorDesigner Report="@Report" OnSaveReport="OnSaveReport" />Persist on save.private void OnSaveReport(StiSaveReportEventArgs args)
{
var reportJson = args.Report.SaveToJsonString();
// store reportJson where you need
}StiBlazorDesigner— the native designer component, bound to aStiReport.OnSaveReportevent →args.Report.SaveToJsonString()serializes the edited template for storage.
How it works. The designer edits the bound report in the browser and raises
OnSaveReport when the user saves, so you control where the template goes.