I have many PDF documents in binary format which is in the SQL Server 2008 database. I have a gridview in my ASP.net page. When a user clicks on any ID column of the record I need to open the pdf in the browser.
Are there any free PDF viewer controls out there? How can I convert the binary PDF file and display as PDF in the browser.
Thanks
Since the path accepts an embed parameter, you can embed the PDF viewer in your document with iframes. Your embedded file now displays in your IT Glue document with Google Drive viewing tools.
Just return the data to the client with a Content-Type of application/pdf
. The client will open it in Adobe Reader or whatever PDF viewer is installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With