Hi,
Our software has ~10 different reports.
The users would like to view report 1 and then export it as PDF to C:\MyReports\Report1, view report 2 and then export it as PDF to C:\MyReports\Report2.
Knowing which report they are viewing, how can I programmatically set the path used by the SaveAs dialog when the user clicks on the Export button in the XamReportViewer component?
We are using WPF, Infragistics 14.2.
Thanks,
Jim
Hi Jim,
You might want to consider manually showing your own save file dialog and then taking the results to the XamReportViewer.Export() method. This way you can control how the save file dialog is setup. There is an example here that shows how to export a report to PDF: http://help.infragistics.com/doc/Reporting/2014.2/CLR4.0/?page=How_to_Export_a_Report_Using_the_Report_Viewer.html