Client side save as packed report

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

Client side save as packed report

Post by Stéphane »

Hello,

With Reports.Web .NET Core HTML5 designer, is it possible to indicate to save the report as a packed report when saving reports on the client side ?

Cordially,
Stephane.
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Client side save as packed report

Post by Lech Kulikowski »

Hello,

You can use Save event:

Code: Select all

public IActionResult SaveReport()
{
    StiReport report = StiNetCoreDesigner.GetReportObject(this);

    // Save the report template
    string pcReport = report.SavePackedReportToString();

    
    return StiNetCoreDesigner.SaveReportResult(this);
}
Thank you.
Post Reply