Page 1 of 1

Open After Export

Posted: Tue Sep 21, 2021 10:04 am
by senli
Hi,

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

Thanks

Re: Open After Export

Posted: Tue Sep 21, 2021 9:34 pm
by Lech Kulikowski
Hello,

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

Thank you.

Re: Open After Export

Posted: Wed Sep 22, 2021 1:46 am
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

Re: Open After Export

Posted: Wed Sep 22, 2021 7:40 am
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.