Page 1 of 1

New report at startup

Posted: Fri Oct 05, 2018 3:38 pm
by Stéphane
Hello,

In Stimulsoft.Reports.Web .NET Core with HTML5 designer, how can I indicate that the report created at startup (with the GetReport action) is a new empty report ? I would like to have the save dialog with the filename when the user clicks on the save button (like with a new report).

Cordially,
Stéphane.

Re: New report at startup

Posted: Mon Oct 08, 2018 10:39 am
by Lech Kulikowski
Hello,

At the moment there is no possibility. But we did some improvements, in the next release you can use this code:

Code: Select all

...
var requestParams = StiNetCoreDesigner.GetRequestParams(this);
requestParams.Designer.IsNewReport = true;

return StiNetCoreDesigner.GetReportResult(requestParams, report);
Thank you.