[Resolved] Give user the ability to save or open newly created PDF document
I have some code that creates a crystal report. Then, I load the report using the CrystalReportViewer. In this code I have the report being exported to a pdf document. I have verified that the document is being created.
When I try to use the following code.
VB Code:
Response.WriteFile("C:\Exported\PortableDoc.PDF")
The File Download Box comes up trying to open or save the web page that this viewer is on.
In other words, the pdf file I created is not being loaded for the user to open or download.
Anyone have any ideas as to what I'm doing wrong?
Thanks