I have read a similar problem on viewtopic.php?t=3272; however, I am unsure of how to apply the solution to the current version. I cannot find the StiDesigner class and cannot locate the resource to overwrite the SavingReportInDesigner event.
I want to implement my saving method in the StimulsoftReportcontroller, which is connected to my cshmtl. This is the code I am using:
Code: Select all
public async Task<ActionResult> GetDesignerReport(string id)
{
var json = RequestStorage.Get(id, false);
var report = new StiReport();
return StiNetCoreDesigner.GetReportResult(this, report);
}
public async Task<ActionResult> SaveReport(string id)
{
var requestParams = StiNetCoreDesigner.GetRequestParams(this);
requestParams.Action = StiAction.SaveReport;
var report = StiNetCoreDesigner.GetReportObject(this);
}