Handler to read and load a PDF file
I have a question regarding chapter 26 (Handlers). There is an example to laod an image from database and display it with a custom ImageHandler.ashx
The example works for PDF file too but there few issues with it.
It opens it in adobe acrobat reader. I wonder is there anyway to open a new IE window and display it there.
Also at the moment when the pdf file is opened in the Adobe Acrobat Reader, if you move the window on the page seems it doesn't refresh for redrawing on the screen and you still see the old window on its original place, something like when windows is crashing, if u know what I mean ....
So I want to know is there anyway to open the *.ashx file as a new window and load the PDF file into it and not with Adobe Acrobat Reader.
Thanks for your help in advance and you helpful book.