Page 1 of 1

Report Viewer does not hide Excel Export Button

Posted: Tue Apr 11, 2023 10:23 am
by TGoertler
Hi Stimulsoft Team,

I try to hide the export to excel button from the save report dialog of the blazor report viewer.
When using something like that

Code: Select all

Options = new StiBlazorViewerOptions();
Options.Exports.ShowExportToExcel = false;
Options.Exports.ShowExportToExcel2007 = false;
the button is still visible. I tried all other options and it worked. Is this a bug or is there another method hiding this button?

Regards,
Thomas

Re: Report Viewer does not hide Excel Export Button

Posted: Thu Apr 13, 2023 8:49 pm
by Lech Kulikowski
Hello,

Please add the following option:
Options.Exports.ShowExportToExcelXml = false;

Thank you.

Re: Report Viewer does not hide Excel Export Button

Posted: Fri Apr 14, 2023 10:01 am
by TGoertler
Hello,

thank you!! That's the option I was missing!
Now it works perfectly.

Regards,
Thomas

Re: Report Viewer does not hide Excel Export Button

Posted: Mon Apr 17, 2023 9:52 am
by Lech Kulikowski
Hello Thomas,

You are welcome.