Good morning guys, in my application asp.net MVC rdlc reports form through reportViewer. The file export feature in the formats: pdf, xlsx, docx, by default, assigns the name of the rdlc file, so if, for example, my rdlc file is called ReportPippo.rdlc, I will get the export report, depending on of the chosen format: ReportPippo.pdf, ReportPippo.xlsx, ReportPippo.docx. Is it possible to dynamically change the filename by not using the default name? I would like to get something that gives a date / time to the filename so that I have a different file every time I print. Thanks in advance.
Asked
Active
Viewed 1,183 times
1
-
See this https://stackoverflow.com/questions/2684221/creating-a-pdf-from-a-rdlc-report-in-the-background – Nagib Mahfuz Oct 30 '17 at 13:04
1 Answers
1
You can set the file name at runtime with the LocalReport.DisplayName
property.

Andris
- 1,948
- 4
- 13
- 23