When your client installing Adobe Reader (or other pdf readers) it will install plug-ins to the browsers, that's why viewing directly in browser is possible. But if those add-ons/plug-ins are disabled (or not installed) then viewing .pdf directly in browser
is not possible.
Hope this helps.
Please "Mark as Answer" if this post answers your question.
marinajogy
Member
105 Points
254 Posts
ITEXTSHARP - .pdf created in .asp net application - .pdf not opening directly in borwser
Dec 03, 2012 03:03 AM|LINK
Hi
I am using Itextshar.dll 5.x version for creating .pdf in web application (asp.net 3.5)
.pdf is created, successfully
It now downloaded to the client first, then asking for save/open- but always saved first
then the user has to click on the saved file to open this,
I want the file to open directly in the browser, so that user can easilsy view/ print it
(my clients use IE 6.0 to Firefox and Chrome as browsers)
all helps will be appreciated
ferrymeidian...
Member
500 Points
126 Posts
Re: ITEXTSHARP - .pdf created in .asp net application - .pdf not opening directly in borwser
Dec 03, 2012 03:18 AM|LINK
Hi Marina,
When your client installing Adobe Reader (or other pdf readers) it will install plug-ins to the browsers, that's why viewing directly in browser is possible. But if those add-ons/plug-ins are disabled (or not installed) then viewing .pdf directly in browser is not possible.
Hope this helps.
Regards,
Ferry Meidianto
www.meidianto.com
oned_gk
All-Star
31651 Points
6468 Posts
Re: ITEXTSHARP - .pdf created in .asp net application - .pdf not opening directly in borwser
Dec 03, 2012 04:26 AM|LINK
marinajogy
Member
105 Points
254 Posts
Re: ITEXTSHARP - .pdf created in .asp net application - .pdf not opening directly in borwser
Dec 03, 2012 05:46 AM|LINK
Well, Clinet had adob reader installed already
marinajogy
Member
105 Points
254 Posts
Re: ITEXTSHARP - .pdf created in .asp net application - .pdf not opening directly in borwser
Dec 03, 2012 05:47 AM|LINK
What is the name or anything of the plug-in,
kindly elaborate
alankarp
Contributor
2042 Points
345 Posts
Re: ITEXTSHARP - .pdf created in .asp net application - .pdf not opening directly in borwser
Dec 03, 2012 05:54 AM|LINK
Hi,
The workaround is, create PDF and save it on server (instead of downloading) and open pdf in iframe.
Thanks
Alankar
Profile