in report viewer you can choose pdf, xps, xls and xlsx, but our customer only wants to allow pdf.
the AvailableExportFormats is a readonly property. Is there a possibility to restrict allowedexportformats to pdf?
(using reporting 12.2)
Hello,
Thank you for your post. I have been looking into the functionality that you are trying to achieve and I can suggest removing the items of the ComboBox, used in the XamReportViewer. You can use the loaded event of the XamReportViewer and in the event handler for that event, you can get the ComboBox and remove all the items, except the one that is for exporting in PDF format. I have created a sample application for you, that shows how you can implement this approach.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hello
do you have an example of this? (removing the items from the Export Combobox)
I am using UltraReportViewer, and VB.net
Thanks,
Edgar