I have a need to create a pdf in default.aspx but draw it in a new window or tab such as view.aspx while leaving default.aspx in its post back state. Can this be done?
DrawToWeb in new tab/window
Re: DrawToWeb in new tab/window
Support · Jan 31, 2012Hello,
To open the PDF in a new window you will need to set target property on the form or link that creates the PDF equal to target="_blank". That will cause the PDF to be created and opened in a new window. Please refer to the US Envelope Addresser
example in the Generator examples. This example uses the target="_blank" in the aspx page to make the PDF open in a new window.
Thanks,
ceTe Software Support Team
Re: DrawToWeb in new tab/window
Forum member · Feb 1, 2012Thanks for the lead. I had 2 buttons on this form so I had to add an OnClientClick="" to each button to call a js function to set the form to _blank on the preview button click and _self on the submit button click.
This works great! Thanks for your assist!