Open After Export

Stimulsoft Dashboards.WEB discussion
Post Reply
senli
Posts: 3
Joined: Tue Sep 21, 2021 9:55 am

Open After Export

Post by senli »

Hi,

May I know how to default OpenAfterExport to false ?
Or only allow export / download, without viewing it ?

Thanks
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Open After Export

Post by Lech Kulikowski »

Hello,

You can use the ShowOpenAfterExport option for the viewer:
https://www.stimulsoft.com/en/documenta ... ttings.htm

Thank you.
senli
Posts: 3
Joined: Tue Sep 21, 2021 9:55 am

Re: Open After Export

Post by senli »

Hi

I have tried ShowOpenAfterExport option. It only hide the option but I believe the OpenAfterExport is still true.
Because of that, it will still view the exported report instead of downloading it.
May I know how could we make it work ?

Thanks
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Open After Export

Post by Lech Kulikowski »

Hello,

You can use the OnExportReport event in which save your report as you need:
https://www.stimulsoft.com/en/documenta ... _event.htm
https://www.stimulsoft.com/en/documenta ... _print.htm

Thank you.
Post Reply