Hi Everyone,
I was wondering if someone can help me. I am trying to open a PDF file from a button on a webpage. The code I am trying to use is......
Process
.Start(@"C:\Inetpub\wwwroot\Website\Images\MyFile.pdf");
I also tried......
Process
.Start("C:\\Inetpub\\wwwroot\\Website\\Images\\MyFile.pdf");
Now the problem I have is when I click the button, nothing happens. All I want to do is open this PDF file in a reader in another window. Any suggestions?
Thanks in advance!
Jay