This is a migrated thread and some comments may be shown as answers.

Reduce Export Options

8 Answers 678 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
JK
Top achievements
Rank 1
JK asked on 14 May 2008, 09:11 AM
Hi,

Can you reduce the export options?  I.e. I only wnat PDF on the dropdownlist, thus removing/hiding the other options of "Tiff", "Rich Text","excel" etc..

Updated : From what I have found it appears that you can configure this on the webconfig, but this restricts all reports, can this not be done on the reportviewer itself?

thanks,

JK

8 Answers, 1 is accepted

Sort by
0
Milen | Product Manager @DX
Telerik team
answered on 14 May 2008, 01:23 PM
Hello JK,

Yes, you are able to hide one or more extensions from the viewers using the Telerik Reporting configuration. It is done in the configuration file of the application. The settings are applied to all report viewers in your application, and this is by design.

You can find more information in the help article Configuring Telerik Reporting.

If you need to allow different export formats in different situations and want to deny all other formats, what you can do is hide the export button on the report viewer and to provide your custom interface (button for example) and to export the report to the desired format programmatically.

You may find useful the following KB article: Saving a report into PDF format programmatically.

Greetings,
Milen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
JK
Top achievements
Rank 1
answered on 15 May 2008, 09:10 AM
Hi,

refering to your second point (export programatically) I appreciate that you have to use the following declarations:

using

System.IO;

using

Telerik.Reporting.Processing;

but the part I am stuck on is it errors on the Encoding command, what else do I need to add to the classes?

also, when the  "SaveReport" function is working, as the report in question is already being displayed in the reportviewer (same page), how do I refer to the report currently being displayed in the reportviewer rather than calling a new version of the report?

thanks,

0
Milen | Product Manager @DX
Telerik team
answered on 16 May 2008, 11:53 AM
Hi JK,

The purpose of the out parameter encoding is to give you the Encoding used in the return array of bytes, in case you need it. So you do not have to instantiate the encoding parameter before passing it to the render method or do any extra work with it. Just declare a variable encoding and pass it.

About the second question. Yes, you can use the instance of the report already in use of the report viewer. Use:

SaveReport(this.reportViewer1.Report, @"C:\MyReport.pdf"); 

I hope this information helps.

Regards,
Milen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
1
James Strope
Top achievements
Rank 1
answered on 11 Mar 2010, 06:28 PM
Hello,

I noticed the link to "Configuring Telerik Reporting?" was not valid.  Here is the valid link:
http://www.telerik.com/help/reporting/configuring-telerik-reporting.html

Also, this link was very helpful in explaining more...
http://www.telerik.com/support/kb/reporting/report-viewers/limit-export-options-in-reportviewer-to-certain-format-only.aspx
0
Farouk
Top achievements
Rank 1
answered on 25 Mar 2010, 01:55 PM
hi,

i have the problem, that my reports should offer different export types.. so i would need an option to change the export types per report, not for all...

will there be an option in further future releases?

kind regards
0
Steve
Telerik team
answered on 25 Mar 2010, 02:09 PM
Hello Basti,

Yes, we have this functionality logged in our features list and would consider including it in subsequent version of the product. Once we do, it would be listed in the Telerik Reporting RoadMap.

Kind regards,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Phisca Aditya
Top achievements
Rank 1
answered on 08 Oct 2014, 10:41 AM
Dear admin, i want to ask, last day i reduced extention for export document in telerik, i reduce doc, xls, etc. include .tif extention. but when i run my program, option .tif still exist in the program. can you help me about that?

thanks you very much for your help.

Sincerely

Phisca
0
Stef
Telerik team
answered on 10 Oct 2014, 04:10 PM
Hello Phisca,

You will need to hide the IMAGE rendering extension to remove the Tiff export option. The full list of available rendering formats is available in the Rendering Extensions article.


I hope the above information helps you.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
JK
Top achievements
Rank 1
Answers by
Milen | Product Manager @DX
Telerik team
JK
Top achievements
Rank 1
James Strope
Top achievements
Rank 1
Farouk
Top achievements
Rank 1
Steve
Telerik team
Phisca Aditya
Top achievements
Rank 1
Stef
Telerik team
Share this question
or