bherrmann Posted April 15, 2003 Posted April 15, 2003 Hi all, This is probably an easy question: How do I display a PDF file on an ASP.Net page? Thanks, Bob Quote
Moderators Robby Posted April 15, 2003 Moderators Posted April 15, 2003 All you need is to provide a link to the PDF file, it will launch Acrobat on its' own. Quote Visit...Bassic Software
bherrmann Posted April 15, 2003 Author Posted April 15, 2003 Thanks for the response Robby. Is there any way to convert the pdf file to html instead of launching Acrobat? Quote
Guest mutant Posted April 15, 2003 Posted April 15, 2003 I think there is no way to convert those to html. There have been lawsuits over trying to modify PDF's or crack them. I dont suggest you try to do anything with them yourself ;) :) (One example: http://news.com.com/2100-1023-978176.html :eek: ) Quote
bherrmann Posted April 15, 2003 Author Posted April 15, 2003 Thanks for the replay Mutant. Ok, is there a way that I can bypass the dialog window where the user clicks either open or save radio buttons and instead just open the pdf directly? Thanks, Bob Quote
Guest mutant Posted April 15, 2003 Posted April 15, 2003 If you get that dialog it means that you either dont have acrobat reader or you dont have the web plugin which comes with the newest version and with some older too. Quote
*Experts* Nerseus Posted April 15, 2003 *Experts* Posted April 15, 2003 It should open directly to Adobe, if they have it installed correctly (meaning, the PDF extension is still registered to Adobe). You can check by using Google's Advanced search and select the format of PDF (just to find some in a browser to test with). Clicking one should open in the browser without any questions. That will work IF you are linking directly to a file the user has access to. If you're streaming it to them, you'll have to add some headers to "mark" the stream as a PDF file. I can dig something up if that's the case. -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.