Hi,
in the Report Viewer I can export to Pdf, xps, excel...
is it possible to remove all the Export Formats except for PDF ?
Fabi
Hi Fabi,
There is no direct option for filtering the export formats that are shown.
A possible workaround would be to redefine the report viewer's control template and remove the other export formats (assuming you want only the PDF option, this solution currently does not work with the other formats). Please also note that you can still programmatically call the Export() method on the viewer with any of the formats.
Alternatively, you can hide the Export elements from the viewer by setting the xamReportViewer.ToolBarSettings.ExportVisibility property to Visibility.Hidden and have an export command outside of the Report Viewer.
Regards,Héctor
All the Formats work, but I don't want to Export to Excel because my report simply looks bad in Excel.
I'll try you're solution.
Thanks for reply.