Hello,
In my webform I have a listbox that is populated with document names that it gathers from a folder on the server.
there are various document types excel pdf, word etc..
Can I open them in the web browser when hey are selected in the list?
I have tried
response.redirect("file_path")
but i just get 'internet explorer cannot display the webpage'
I've also tried
File.OpenRead("file_path")
but that only opens it in the background not open it to view!
If possible i would like to be able to open the file in a new page in the browser!
Thanks for any advice!!
Iain