This topic is locked

Make an uploaded PDF open in viewer instead of download

6/9/2010 10:27:05 AM
ASPRunnerPro General questions
B
boater21 author

I'm uploading files to an ASP Runner website I've created. On the list page, which I give users access to, when they click on the file link (which will always be a PDF), they are prompted to download the file. Is there a way I can get ASP Runner to open the PDF in the Adobe PDF Reader?
Thanks

B
boater21 author 6/9/2010

I've answered my own question. To force PDF's to use the Adobe plugin instead of downloading, I had to go to the Editor page and, on the List view, define the file field as a hyperlink instead of a file view. After that, I had to add the URL Prefix files/ to point the URL to the correct directory.