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:
<a href="@Model.CertificatePath" target="_blank" class="button3">Open</a>
but this doesn't open my file. What do I have to do? I need to specify somewhere that it is a pdf??