Another PDF question
-
First off, I am sorry to post this question. I promise I did search for exactly what I needed concerning my particular interest but I can only find issues and comments that are beyond what I need. My simple problem is that I have a windows app written in C# that will display a PDF file, in Adobe, using Process (opening the app externally). I pass the file name in the Process.StartInfo.Argument value. Everything works well, but now I am asked to do this in a web page. :doh: I have searched for just a simple way to display a pdf file in a web page (aspx) and cannot find a tutorial, comment or any thing. Everywhere I have search usually had to do with converting or something else that is more than what I need.I don't have to do any conversions or special rendering, I just have to pass the .pdf file name somewhere so that the page can display it. Any help would be greatly appreciated.
-
First off, I am sorry to post this question. I promise I did search for exactly what I needed concerning my particular interest but I can only find issues and comments that are beyond what I need. My simple problem is that I have a windows app written in C# that will display a PDF file, in Adobe, using Process (opening the app externally). I pass the file name in the Process.StartInfo.Argument value. Everything works well, but now I am asked to do this in a web page. :doh: I have searched for just a simple way to display a pdf file in a web page (aspx) and cannot find a tutorial, comment or any thing. Everywhere I have search usually had to do with converting or something else that is more than what I need.I don't have to do any conversions or special rendering, I just have to pass the .pdf file name somewhere so that the page can display it. Any help would be greatly appreciated.
Basically, you need your user to have Acrobat, just like your windows app. You can just link to a PDF and the browser should open it, or you can set the content type and use response.binarywrite to pass a pdf down in response to a page event.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Basically, you need your user to have Acrobat, just like your windows app. You can just link to a PDF and the browser should open it, or you can set the content type and use response.binarywrite to pass a pdf down in response to a page event.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )