I would like to be able to access the report template layout using the ref so that I can save the report template outside of the designer. Similar to this:
<button type="button"class="btn btn-light btn-sm" @onclick="Save">Save</button>
<WebReportDesigner @ref="designer1"
DesignerId="wrd1"
ServiceUrl="/api/reportdesigner"
Report="Dashboard.trdp"
ToolboxArea="new ToolboxAreaOptions() { Layout = ToolboxAreaLayout.Grid }"
PropertiesArea="new PropertiesAreaOptions() { Layout = PropertiesAreaLayout.Categorized }" />
@code {
WebReportDesigner designer1;
void Test()
{
var layout = (byte)designer1.Report.Layout;
}
}