Page 1 of 1

Export PDF Without Dialog

Posted: Sat Feb 10, 2018 10:16 pm
by nehir_nehir

I use two functions while the PDF is output.

1) Page Exporting
2) Page Exported

What I want to do is:
1) In the Page Exporting function, is it possible to write in the code where the file should be saved before the dialog window opens?

2) In Page Exported, is it possible that I do not know where the file is saved?


Re: Export PDF Without Dialog

Posted: Mon Feb 12, 2018 11:59 am
by arbei

Read the definition of Page_Exporting and Page_Exported Server Events in help file topic: "Server Events and Client Scripts".

And I think you may need to use the Page_DataRendering for adding code to the PDF.


Re: Export PDF Without Dialog

Posted: Mon Feb 12, 2018 5:36 pm
by nehir_nehir

Sorry, the answer is unfortunately not there!


Re: Export PDF Without Dialog

Posted: Tue Feb 13, 2018 12:27 pm
by arbei

1) In the Page Exporting function, is it possible to write in the code where the file should be saved before the dialog window opens?
You can use the Page_DataRendering Server Event to write more content before it's export to the file.

2) In Page Exported, is it possible that I do not know where the file is saved?
If the file saved automatically, it will saved the file to the folder defined as the default download location in your browser settings.