Asked by:
ITEXTSHARP - .pdf created in .asp net application - .pdf not opening directly in borwser

Question
-
User869562339 posted
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
Sunday, December 2, 2012 11:03 PM
All replies
-
User679681370 posted
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.
Sunday, December 2, 2012 11:18 PM -
User-1716253493 posted
is client already has pdf reader installed? Install acrobat or foxit pdf readerMonday, December 3, 2012 12:26 AM -
User869562339 posted
Well, Clinet had adob reader installed already
Monday, December 3, 2012 1:46 AM -
User869562339 posted
What is the name or anything of the plug-in,
kindly elaborate
Monday, December 3, 2012 1:47 AM -
User-422529730 posted
Hi,
The workaround is, create PDF and save it on server (instead of downloading) and open pdf in iframe.
Thanks
Alankar
Monday, December 3, 2012 1:54 AM