NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: sabra on January 25, 2011, 01:25:59 PM
-
In the postupdate embed of my netwebform i create a pdf report. Based on the condition SendByPost = true i want to show this pdf in a new page in the browser. I have the servedocument procedure working , but thats based on clicking a download button in a browse.
How can i do this on the server side ?
Best regards,
Walter
-
You can call servedocument from a form. You will need to change the target based on your condition. If you have Bruce's book on Nettalk there is a section on this.
-
I found out that i can use p_web._sendfile(loc:pdfname)
This however in the _self. i want _blank , otherwise my form in gone.
Cheers,
Walter
-
Hi Walter,
you can do some research, but I don't think the server can set the target inside the reply.
the target is set on the client side, on the URL that the user clicks on.
cheers
Bruce