Use Hyperlink or LinkButton controls on a page to download documents from server?
Posted on 2007-11-14
Hi, I need to provide a page with links to download files from the server. However, I am not sure what would be an ideal control to use for this scenario? Would it be Hyperlink or LinkButton?
The names of the files are never the same. Upon clicking on the links, the code needs to get the server path from the web.config file and the filename would have to be built based on the ID of the case selected. It is also important that the link is reusable to download the file again without having to refresh the page.
I truely appreciate your time and assistance on this.
Thank you so much!