Hello,
we are evaluating the Telerik-Report-Control. In our Website we want to Export a Report in PDF-Format. The Users are only allowed to export in PDF.
In de ExportGroup-Combox there are different Export-Types. Is it possible to configurate these items? That only the PDF-Export is available?
Thx a lot for your help!
Bruno
we are evaluating the Telerik-Report-Control. In our Website we want to Export a Report in PDF-Format. The Users are only allowed to export in PDF.
In de ExportGroup-Combox there are different Export-Types. Is it possible to configurate these items? That only the PDF-Export is available?
Thx a lot for your help!
Bruno
7 Answers, 1 is accepted
0
Hi Bruno,
Here is a help article elaborating on this. As can be seen from the very first two config sections, you need to add Telerik Reporting config section to your web.config and then on the dots, place the extension configurations e.g.:
Greetings,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Here is a help article elaborating on this. As can be seen from the very first two config sections, you need to add Telerik Reporting config section to your web.config and then on the dots, place the extension configurations e.g.:
<configSections> |
<section name="Telerik.Reporting" type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting.Processing, Version=2.8.8.925, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere" /> |
</configSections> |
<Telerik.Reporting> |
<Extensions> |
<Render> |
<Extension name="IMAGE" visible="false"> |
</Extension> |
<Extension name="MHTML" visible="false"> |
</Extension> |
<Extension name="XLS" visible="false"> |
</Extension> |
<Extension name="CSV" visible="false"> |
</Extension> |
<Extension name="RTF" visible="false"> |
</Extension> |
<Extension name="PDF" visible="true"> |
<Parameters> |
<Parameter name="DocumentAuthor" value="Bruno" /> |
</Parameters> |
</Extension> |
</Render> |
</Extensions> |
</Telerik.Reporting> |
Greetings,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
intrasoft
Top achievements
Rank 1
answered on 15 Dec 2008, 12:48 PM
Thank for your fast reply! Sorry for opening multiple threads..:-S.
But this is a global configuration. That means on every telerik-Report in the same Web-Project the same configuration is valid, right?
Is there no possibility to configure the Export-Types per Report? For example in Report1.aspx PDF and Excel are visible, and in Report2.aspx only ASP is available?
Thx for reply
Bruno
But this is a global configuration. That means on every telerik-Report in the same Web-Project the same configuration is valid, right?
Is there no possibility to configure the Export-Types per Report? For example in Report1.aspx PDF and Excel are visible, and in Report2.aspx only ASP is available?
Thx for reply
Bruno
0
Hi Bruno,
Unfortunately there is no per report configurations for this functionality out of the box. What I can think as a workaround is to hide the default toolbar and provide your own UI for working with the ReportViewer per report. A sample custom toolbar implementation I've done is available here.
All the best,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Unfortunately there is no per report configurations for this functionality out of the box. What I can think as a workaround is to hide the default toolbar and provide your own UI for working with the ReportViewer per report. A sample custom toolbar implementation I've done is available here.
All the best,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
intrasoft
Top achievements
Rank 1
answered on 15 Dec 2008, 01:58 PM
OK, then I'll try to customice our Toolbar.
Thanks for your help!
Bruno
Thanks for your help!
Bruno
0
intrasoft
Top achievements
Rank 1
answered on 19 Dec 2008, 10:01 AM
Hello,
my next question...:-)
I've seen in the CustomToolBar, in javascript you call the function printAs, or ExportReport. Are these function also in ASP available? I want to call these functions by a click-event of a button.
Thx for help
BRuno
my next question...:-)
I've seen in the CustomToolBar, in javascript you call the function printAs, or ExportReport. Are these function also in ASP available? I want to call these functions by a click-event of a button.
Thx for help
BRuno
0
Hi Bruno,
As noted in this KB article, you can only print on the client side in .aspx page, as if you try to do this in code-behind, it would be the server making the request for the print (and there would be no request for print on the client machine).
As for exporting on the server, you can use the approach from this KB article.
All the best,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
As noted in this KB article, you can only print on the client side in .aspx page, as if you try to do this in code-behind, it would be the server making the request for the print (and there would be no request for print on the client machine).
As for exporting on the server, you can use the approach from this KB article.
All the best,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
intrasoft
Top achievements
Rank 1
answered on 19 Dec 2008, 01:23 PM
Hi Steve,
thx for your fast answer!
Nice Weekend
Bruno
thx for your fast answer!
Nice Weekend
Bruno