Click here to Skip to main content
15,070,173 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello all,

I have to show a PDF in browser using

But want to hide the toolbar.

tried the option as #toolbar=0. but it is not working.
Updated 6-Apr-21 22:23pm

How the user views the PDF defends on what viewing software they are using so you're unlikely to be able to do this universally for all clients.

It is using default adobe reader.
and have used #toolbar=0 using below reference:[^]

but still it is showing the toolbar.
Deepu S Nair 24-Mar-15 7:05am
Don't post your comment as soltion.
rupali4 26-Mar-15 0:04am
Please can someone help on the same.
The tool bar in the bottom can be hidden by using the following code:
Adobepdfviewer.src = Filelocationaddress + "#toolbar=0"

Here file location address as string will open the pdf and "#toolbar=0" will disable the
floating tool bar at the bottom
CHill60 7-Apr-21 4:28am
Only works for Adobepdfviewer so not a complete solution - as noted in Solution 1 six years ago

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