Hi!
I'm using the following code to export my report to PDF (and it works fine for me):
But only works if I put the code after the declaration of the ReportViewer. But now I need this to be global to my project. Is there a way of do a similar functionality putting this code on a separated file?
Regards!
I'm using the following code to export my report to PDF (and it works fine for me):
ReportViewer.prototype.PrintReport =
function
() {
this
.ExportReport(
"PDF"
);
}
But only works if I put the code after the declaration of the ReportViewer. But now I need this to be global to my project. Is there a way of do a similar functionality putting this code on a separated file?
Regards!