New report at startup

Stimulsoft Reports.WEB discussion
Post Reply
Stéphane
Posts: 12
Joined: Fri Jun 30, 2017 11:32 am

New report at startup

Post 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.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: New report at startup

Post 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.
Post Reply