I am currently adding a notification for our customers. They should be able to download a pdf
with list of our branches. When I click on the link nothing happens. I don't understand why. I'm using standard MVC approach. I tried to look at the path that is stored in the variable and the file exists there.
Anything I'm missing here?
Edit:
when opening the link in new tab chrome puts "about:blank#blocked" in url (popups enabled)
Thanks for any input
@{
var path = Server.MapPath(@"~/ToolsModule/Content/Forms/PdfTemplates/PBS/ListOfBranches.pdf");
}
<div>
<div>you can find a link to list of all branches <a href="@path"><b>here</b></a></div>
</div>