Click here to Skip to main content
15,311,151 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to preview my PDF from shared path in the page itself, inside a div or any other container. I can show it in the fullpage, but I need it to be shown inside a div. I have the document as a byte array. whether it can be shown using Jquery.
Posted
Comments
   
I would be curious to know what do you use to show it in the full page...
—SA

1 solution

Please see, in particular: https://code.msdn.microsoft.com/ASPNET-Document-Viewer-e7c2a39f[^].

The same approach can be used to show the document in a full page. I am not sure you currently really show the view. If you are relying on the browser's Adobe plug-in, it does not count, because this is nothing standard you can rely on.

—SA
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900