Hi,
The page will create or read pdf in memory stream and write to the response object as shown below:
Response.ClearHeaders();
Response.ContentType="application/pdf";
ms.WriteTo(pdfOutputStream); This will prompt the user to open the pdf file. So though you have a link to aspx file the page will return pdf data will will prompt user to open pdf file.
The code snippet in the following link shows how you can do this:
http://support.microsoft.com/kb/306654
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com