Joar
asked on
Toolbar email button not visible when opening pdf in the the browser
I have a web app that opens pdf files in the browser window. For some users the email button is not visible on the toolbar.
I know how to make it visible manually (right clicking the web page), but may I force the email button to be visible from code behind in some way?
The users are using different browsers...and many users have problems knowing how to get this button visible (in order to email the pdf)
I know how to make it visible manually (right clicking the web page), but may I force the email button to be visible from code behind in some way?
The users are using different browsers...and many users have problems knowing how to get this button visible (in order to email the pdf)
ASKER
Interesting as I didn't know this possibility.
But I cannot read how to force one spesific button (in my case the email button) to be on the toolbar, just how to ensure that the toolbar is visible.
For some reason the email button is not on the toolbar for some users.
Any idea how to solve this???
And how to implement it in my way of coding?
This is my code for opening the pdf in the browsser:
fs = File.Open(PDFFil, FileMode.Open)
Dim data As Byte() = New Byte(fs.Length - 1) {}
Dim i As Integer = CInt(fs.Length)
fs.Read(data, 0, i)
fs.Close()
Response.Clear()
Response.Charset = ""
Response.ContentType = "application/pdf"
Response.AddHeader("Conten t-Disposit ion", "inline;filename=pdfTest.p df")
Response.BinaryWrite(data)
Response.[End]()
But I cannot read how to force one spesific button (in my case the email button) to be on the toolbar, just how to ensure that the toolbar is visible.
For some reason the email button is not on the toolbar for some users.
Any idea how to solve this???
And how to implement it in my way of coding?
This is my code for opening the pdf in the browsser:
fs = File.Open(PDFFil, FileMode.Open)
Dim data As Byte() = New Byte(fs.Length - 1) {}
Dim i As Integer = CInt(fs.Length)
fs.Read(data, 0, i)
fs.Close()
Response.Clear()
Response.Charset = ""
Response.ContentType = "application/pdf"
Response.AddHeader("Conten
Response.BinaryWrite(data)
Response.[End]()
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Because the solution seemed to be "no solution"...
Then you never know if there is a better solution...
Then you never know if there is a better solution...
eg:
<embed src="Test.pdf#toolbar=0&na
check all parameters
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf