New to Telerik Report Server? Download free 30-day trial

How to restrict export formats in Report Preview

Environment

Product Progress® Telerik® Report Server

Description

The article explains how to hide some of the rendering extensions in the Report Preview mode of the Report Server.

Solution

By default, all rendering extensions in the export options of the viewer of the Report Server are visible. To hide any of them it will be necessary to set accordingly the extensions Element of the Telerik Reporting Configuration section of the TelerikReporting.config file in the (Telerik Report Server installation folder)\Telerik.ReportServer.Web (e.g. C:\Program Files (x86)\Progress\Telerik Report Server\Telerik.ReportServer.Web). After modifications the config file should look like :

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="Telerik.Reporting" type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting" allowLocation="true" allowDefinition="Everywhere" />
  </configSections>
  <Telerik.Reporting>
    <extensions>
      <render>
        <extension name="PDF" visible="false">
        </extension>

        <!-- include here all extensions that should be hidden -->

      </render>
    </extensions>
  </Telerik.Reporting>
</configuration>

It will be necessary to restart the Report Server after modifying the config so that the changes to take effect.

See Also

Limit export options in ReportViewer to certain format only

In this article
Not finding the help you need? Improve this article