G
Guest
Hi,
It should be something very simple, but I do not know what I do wrong.
I display some PDF filenames form a folder into a gridview and when the user
clicks on the name, it execute this code.
System.Diagnostics.Process.Start(filename)
‘filename’ is the full path of the file (like ‘C:\Folder\file.pdf’)
When I run this from VS ( on http://localhost: …) it runs ok and open the
file in a new windows.
When I pulish the site and run it from the server the PDF doesn’t open, and
no error message appear (not even a javascript error).
I do not know why... please help.
It should be something very simple, but I do not know what I do wrong.
I display some PDF filenames form a folder into a gridview and when the user
clicks on the name, it execute this code.
System.Diagnostics.Process.Start(filename)
‘filename’ is the full path of the file (like ‘C:\Folder\file.pdf’)
When I run this from VS ( on http://localhost: …) it runs ok and open the
file in a new windows.
When I pulish the site and run it from the server the PDF doesn’t open, and
no error message appear (not even a javascript error).
I do not know why... please help.