title: Link to open a PDF file that's saved in a folder?
body: <p>Hi there. I think this one is a tough one, but I hope someone can help.</p>
  
  <p>I have a folder which is downloaded from my website. The folder contains a Main PDF report on a housing property, and another folder containing pictures and more PDF reports on similar houses in the area.</p>
  
  <p>On my main PDF report I would like to have a link to open the other PDF folders.</p>
  
  <p>How would I go about creating a link to open a PDF report saved in a file?</p>
  
  <p>Looking at the picture below, where it says CS1.pdf, that is the name of the PDF and where the link will be. This is a screen shot of a portion of my main PDF.</p>
  
  <p>I don't mind if the PDF reports are opened in a webpage, in fact I would prefer it. But, at the moment, I just need a simple link created that will open a PDF located in a folder.</p>
  
  <p><img src="https://i.stack.imgur.com/YBziB.png" alt="Screenshot of detail from from a PDF"></p>
  
  <hr>
  
  <p>An explanation of the app flow:</p>
  
  <p>Here below I save the PDF that I want to link to later. It's saved to a temp location; the exact location is not important as it will be deleted after the file uploads.</p>
  
  <p>The file I upload contains a few pictures, some PDFs and a data.XML file. When a person downloads the file, the data.XML file is used to create my main PDF, or report, in any format. I need to send a link through the XML file that will appear on the report making it able to link to the other PDF files that were uploaded with the data.xml file.</p>
  
  <pre><code>CS1[12].TagValue = ReportDS.Tables[9].Rows[0].ItemArray[0].ToString();
  
  //Save PDF
  //PDFName = System.Guid.NewGuid().ToString() + ".pdf";
  string PDFName = "CS1" + ".pdf";
  WebClient webClient = new WebClient();
  webClient.DownloadFile(CS1[12].TagValue, "C://Users//Shaun//Documents//FormValue//" + PDFName);
  CS1[12].TagValue = PDFName; //This is the value passed to the main PDF so this is where i should pass the link through.
  </code></pre>
  
  <p>The line <code>CS1[12].TagValue = PDFName;</code> is where I set the value to send though to the main PDF, and this is where my link should be sent through.</p>
  
  <p>I need something like <code>CS1[12].TagValue = "http://C://Users//Shaun//Downloads//CS1.pdf";</code> but with the file path of the downloaded location.</p>