Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 2 KB

how-to-restrict-export-formats-in-preview.md

File metadata and controls

55 lines (44 loc) · 2 KB
title description type page_title slug position tags ticketid res_type
How to restrict export formats in Report Preview
How to limit the rendering extensions in the Report Preview mode of the Report Server
how-to
How to restrict export formats
how-to-restrict-export-formats-in-preview
1408256
kb

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]({%slug configure-the-report-engine%}) 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