Is there a way to write PDF to a div from DataBase i.e. Retrieve a Byte[] from Database and Reponse.BinaryWrite to a div.
We do similar thing for Images using src = “anotherpage.aspx” where image is written on anotherpage.
Is it possible with PDF without using IFrame?
If what you’re trying to do is show a PDF file inside a DIV, you’re going down the wrong path. You either need to:
or
Then you can embed the PDF inside a DIV. But no browser I know of supports directly embedding PDFs.
Otherwise you have to put the PDF in an IFRAME, but how this is shown is PDF plug-in dependent.