i am Using the above LOC for View my PDF file but i want to remove the Button in docs namely "Open file in new window" it will allow the users to download and print the doc.
I think you might be able to control what displays on the google side of the house. You can have different permission levels I think which shoul allow you to limit what others can do like setting View permissions. I have to admit its been a while but I distinctly
remember you can control the permissions of documents in that portal.
dLcreations
Member
593 Points
244 Posts
Google Docs Reader
Feb 08, 2012 11:17 AM|LINK
Hi Team,
<iframe src="http://docs.google.com/viewer?url=<%= ViewData["CloudURL"] %>&embedded=true"
width="100%" height="600" style="border: none;"></iframe>
i am Using the above LOC for View my PDF file but i want to remove the Button in docs namely "Open file in new window" it will allow the users to download and print the doc.
so how to do so..
any Suggestions..?
bbcompent1
All-Star
33824 Points
8760 Posts
Moderator
Re: Google Docs Reader
Feb 08, 2012 11:31 AM|LINK
I think you might be able to control what displays on the google side of the house. You can have different permission levels I think which shoul allow you to limit what others can do like setting View permissions. I have to admit its been a while but I distinctly remember you can control the permissions of documents in that portal.
bbcompent1
All-Star
33824 Points
8760 Posts
Moderator
Re: Google Docs Reader
Feb 08, 2012 11:37 AM|LINK
Try it like this:
<iframe src="http://docs.google.com/viewer?url=<%= ViewData["CloudURL"] %>&embedded=true&chrome=false"
width="100%" height="600" style="border: none;"></iframe>
dLcreations
Member
593 Points
244 Posts
Re: Google Docs Reader
Feb 08, 2012 11:43 AM|LINK
Its not Working "bbcompent1"
Any Other Solution please..?
bbcompent1
All-Star
33824 Points
8760 Posts
Moderator
Re: Google Docs Reader
Feb 08, 2012 11:52 AM|LINK
Hmm, thats wierd because that is what their API said would do it. Give me some time to research this...
etell0
Member
240 Points
76 Posts
Re: Google Docs Reader
Feb 08, 2012 11:58 AM|LINK
http://stackoverflow.com/questions/8756351/google-docs-viewer-gives-javascript-error-inside-asp-net-page
dLcreations
Member
593 Points
244 Posts
Re: Google Docs Reader
Feb 08, 2012 12:02 PM|LINK
OK.. will wait for your valuable help :)
Thanks..
bbcompent1
All-Star
33824 Points
8760 Posts
Moderator
Re: Google Docs Reader
Feb 21, 2012 03:51 PM|LINK
I've done all I can at this point. I'm thinking you might want to drop an email to the google folks since they may know a trick that I'm not aware of.