Export to PDF
Export to PDF
Hi!
How can I have a button in the viewer that sends user directly to Export to PDF options ?
Thank you,
Aline
How can I have a button in the viewer that sends user directly to Export to PDF options ?
Thank you,
Aline
Re: Export to PDF
Hello,
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
Re: Export to PDF
Hello,
As a way, you can create a export to Pdf class and call method ExportPdfAsync() with necessary for you parameters
var pdfService = new StiPdfExportService();
await this.ExportPdfAsync(.....)
Thank you.
As a way, you can create a export to Pdf class and call method ExportPdfAsync() with necessary for you parameters
var pdfService = new StiPdfExportService();
await this.ExportPdfAsync(.....)
Thank you.
Re: Export to PDF
Hi!
I'll try to explain better my question:
When exporting the report to PDF by code, user doesn't get to choose export options as when using the export button on the viewer's toolbar.
Using the export button on the viewer toolbar, user has to choose first PDF and then pdf export options.
What I would like is a button in the toolbar viewer so user goes straight to PDF options. Something like "export to PDF".
Thanks
Aline
I'll try to explain better my question:
When exporting the report to PDF by code, user doesn't get to choose export options as when using the export button on the viewer's toolbar.
Using the export button on the viewer toolbar, user has to choose first PDF and then pdf export options.
What I would like is a button in the toolbar viewer so user goes straight to PDF options. Something like "export to PDF".
Thanks
Aline
Re: Export to PDF
Hello!
I know how to add a custom buttom to the toolbar. The question is that when I do this, I use the following code
to export the report. But this way user doesn't get to choose export options like when using your button...Is there a way to do this?
Thanks
Aline
I know how to add a custom buttom to the toolbar. The question is that when I do this, I use the following code
Code: Select all
exportPDFService.ExportPdfAsync(reportViewer.Report, storageFilePDF, new StiPdfExportSettings());
Thanks
Aline
Re: Export to PDF
Hello.
Sorry for the delay with answer we needed some time for analyzing of your issue.
It's impossible to call export options window from your button.
But you could use our code and create your own. Thank you.
Sorry for the delay with answer we needed some time for analyzing of your issue.
It's impossible to call export options window from your button.
But you could use our code and create your own. Thank you.
Re: Export to PDF
Hello!
Thank you for sharing your code!
I've implemented the export options !
Aline Almeida
Thank you for sharing your code!
I've implemented the export options !
Aline Almeida
Re: Export to PDF
Hello,
Excellent. We are always glad to help you!
Excellent. We are always glad to help you!