Groups | Blog | Home
all groups > asp.net > january 2004 >

asp.net : web to PDF and back question


Peter J. Hunter
1/18/2004 11:14:07 PM
I have a server method that generates a crystal report in pdf format. I
send the file to the client as follows:

response.contenttype="application/pdf"
response.writefile("myreport.pdf")
response.end()

This works fine, EXCEPT that I would like the client to return to the
originating page, after finishing with the pdf.

Suggestions? TIA.

TJS
1/18/2004 11:38:09 PM
give them a link in the pdf back to the source page ?

[quoted text, click to view]

Shiv Kumar
1/19/2004 12:05:42 PM
I would open the PDF in a new browser instance. That way they can close out
the pdf and get back to where they left off.

--
Shiv R. Kumar
http://www.matlus.com

AddThis Social Bookmark Button