When saving my pdf object to the Response object, when I use this code:
...
pdf.Save(Response);
Response.End();
The pdf loads great, but when I hit back in my browser, it goes back two pages in my history. If I leave off the Response.End(), instead of just loading the pdf, I get a dialog asking if I want to Open or Save the document. When I select Open, I get an error that says:
"The file referenced by the shortcut file 'C:\...' can not be opened."
My preference is for the pdf to load without having to select open, and that if I hit back, I'll go back to the page from which I generated the pdf.
Any ideas?
Pete