File (PDF *.Doc) Display with ASP.NET
-
Hello All, I have a question that I think I did perform due diligence on finding an answer before having to interupt your day. I am at a lost, so here goes. I have an internal application that users requested I extend it's features by allowing a user to upload a file that anyone can look at by selecting it from a list. I utilized the FileUpload Control with extreme ease and that this part is working great (uploading the files and saving them to the hard drive.) After this I have hit a wall. I want the user to be able to select a saved file and have it displayed in the aspx page with the correct external application (Word for docs and txt files, and anything for pdf files. I allow the upload of DOC and PDF files). I have not found a way to do this. If anyone can point me in the right direction, I will greatly appreciate it. Again, sorry to bug you guys but I am lost.:confused:
-
Hello All, I have a question that I think I did perform due diligence on finding an answer before having to interupt your day. I am at a lost, so here goes. I have an internal application that users requested I extend it's features by allowing a user to upload a file that anyone can look at by selecting it from a list. I utilized the FileUpload Control with extreme ease and that this part is working great (uploading the files and saving them to the hard drive.) After this I have hit a wall. I want the user to be able to select a saved file and have it displayed in the aspx page with the correct external application (Word for docs and txt files, and anything for pdf files. I allow the upload of DOC and PDF files). I have not found a way to do this. If anyone can point me in the right direction, I will greatly appreciate it. Again, sorry to bug you guys but I am lost.:confused:
If you do a response.write and set the header type correctly, then they will be able to view those files, provided they have acrobat and word installed.
Christian Graus Driven to the arms of OSX by Vista.