Stop Export to Excel from Report viewer
Stop Export to Excel from Report viewer
Hi,
I want to stop users from exporting the report to any Excel formats.
Is that Possible?
If so what should be the approach?
I use SS 2011.1.919
Thanks
I want to stop users from exporting the report to any Excel formats.
Is that Possible?
If so what should be the approach?
I use SS 2011.1.919
Thanks
Re: Stop Export to Excel from Report viewer
Hello.
You could use next options to disable Excel exports:
Thank you.
You could use next options to disable Excel exports:
Code: Select all
StiOptions.Viewer.Windows.Exports.ShowExcel = false;
StiOptions.Viewer.Windows.Exports.ShowExcel2007 = false;
StiOptions.Viewer.Windows.Exports.ShowExcelXml = false;
Re: Stop Export to Excel from Report viewer
Hi, Thanks.
Where should this be set? On an event?
Where should this be set? On an event?
Re: Stop Export to Excel from Report viewer
Hello.
These are the static options. They should be set before initializing of the Viewer.
Thank you.
These are the static options. They should be set before initializing of the Viewer.
Thank you.
Re: Stop Export to Excel from Report viewer
Thanks, It did work.
Re: Stop Export to Excel from Report viewer
Hello,
Great!
Great!