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

Export format based on user

2 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 01 Mar 2011, 10:43 AM
Hello,
I've the need of having two type of export based on the user level, for some user (the most of them) I need only to export to PDF, for some superuser I need to export also to xls .... how can I do that?
I've used this in the web.config :

<Telerik.Reporting>
   <Extensions>
     <Render>
       <Extension name="PDF" visible="true">
         <Parameters>
           <Parameter name="FontEmbedding" value="Subset" />
         </Parameters>
       </Extension>
       <Extension name="CSV" visible="false" />
       <!--<Extension name="IMAGE" visible="false">
       </Extension>-->
       <Extension name="RTF" visible="false">
       </Extension>
       <Extension name="MHTML" visible="false">
       </Extension>
       <Extension name="XLS" visible="false">
       </Extension>
       <Extension name="XPS" visible="false">
       </Extension>
     </Render>
   </Extensions>
 </Telerik.Reporting>

Thanks

Paolo

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 02 Mar 2011, 04:18 PM
Hi Paolo,

The Report Viewers export UI doesn't offer such customization in the current version, however this is logged in our database as future request. For the time being our suggestion is to hide the viewer's export option and add a simple custom UI that will conditionally show the excel export option or modify the report viewer's template in Blend. Generally if you are after your own UI for the export options you may find useful the Exporting Report in Silverlight help article.

All the best,
Peter
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Michele
Top achievements
Rank 2
answered on 03 Mar 2011, 09:59 AM
Hello Telerik,
I've used Blend to clone the template....... my question now is how do I get the combobox element from the template? I named it but using visualtreehelper or telerik's extension GetChildrenOfType<T>() won't work.......

Thanks
Paolo
Tags
General Discussions
Asked by
Michele
Top achievements
Rank 2
Answers by
Peter
Telerik team
Michele
Top achievements
Rank 2
Share this question
or