0
Thanks Ruchi/Gokhul for giving suggestion.
Ruchi,
I want to give link only file like text/doc/pdf not web page. Hence I have used as below, it is working in local/dev server but UAT server it is not working.
link = @"<a href="'file:" + strPath + @" ' ) "">" + row["filename"].ToString() + " target='_blank' </a>"
Getting error message when click on link
The Page can't be displayed
- Make sure the web address is correct
- Look for the page with your search engine
- Refresh the page in a few minues
The file location path I have access in Dev server but in UAT I don't have access to that location. Due to that it is not working? Without access to that location also it should be work. Please suggest.
0
you can get a clear solution about it by reffering the given link:https://stackoverflow.com/questions/2198470/javascript-uploading-a-file-without-a-file