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, by default C:\Program Files (x86)\Progress\Telerik Report Server\Telerik.ReportServer.Web. After modifications the config file should look like this:

<?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

In this article