How to limit export options in report viewer only for single page instead of all pages from project

1 Answer 597 Views
.NET Core .NET Framework General Discussions Rendering Report Designer - Web Report Designer (standalone) Report Parameters Report Viewer - ASP.NET Report Viewer - HTML5 Report Viewer - HTML5 WebForms Report Viewer - WinForms Report Viewer - WPF
Payal
Top achievements
Rank 1
Payal asked on 20 Oct 2021, 09:22 AM

Hi team,

I want to exclude export options (Exel ,RTF, TIFF, Web arhive) from Report designer's telerik ribbon . I can do this from web.config file but its getting excluded from other pages as well, I just wanted to exclude these options from single  page report not from all pages of my project.

Anyone can help me asap?

Kind regards,

Payal

 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 25 Oct 2021, 07:49 AM

Hello Payal,

Indeed, if you use the application configuration, the rendering extensions will be excluded from all the clients that use the same REST Service - How to limit export options in the report viewer.

If you need to limit the available rendering extensions for a particular report, you may use its Report.RuntimeSettings Property. For example, to hide the XLSX extension, you need to add a new item in the RuntimeSettings collection of the report with 'Name' = 'XLSX' and 'Visible' = 'False'. More details may be found in the KB article Enable per-report allowed export formats configuration.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
.NET Core .NET Framework General Discussions Rendering Report Designer - Web Report Designer (standalone) Report Parameters Report Viewer - ASP.NET Report Viewer - HTML5 Report Viewer - HTML5 WebForms Report Viewer - WinForms Report Viewer - WPF
Asked by
Payal
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or