title: ASP.NET MVC open pdf file in new window
body: <p>I have a MVC application. I need to open the pdf file when user clicks the open button on the page. The filepath where the pdf is stored is read from the database and it is a file on c:. How do I open it in my html code? I have this code:</p>
  
  <pre><code>&lt;a href="@Model.CertificatePath" target="_blank" class="button3"&gt;Open&lt;/a&gt;
  </code></pre>
  
  <p>but this doesn't open my file. What do I have to do? I need to specify somewhere that it is a pdf??</p>