Author: duckkiller53 | Posted on: 5/7/2010 5:43:18 PM | Views : 463

Could someone help:


     I have an asp.net web site that allows users to upload .doc, .docx, .xls, .xlsx and .pdf files to a specified folder on the server.  After the user uploads the file and if they save a new 'item' record in the database, I will change the file name to include the item rec's unique ID and then update the item record's 'Attach' Varchar(50) field with the path to the file on the server.  What I was hoping to do was use a HyperLink control and set the .NavigateURL to the path of the file ie: hyperlink.NavigateURL = "C:\Website\Uploads\Rec_133.docx"  then when the user views the record they could click on the hyperlink and the file would open on the users desktop (granted if the user has word 2007 installed).  The problem is the hyperlink idea does not work.


Would anyone have a good solution or method for me to dynamicly set a control etc. to allow the u ...

Go to the complete details ...