I want to allow user to open or save PDF file rather than PDF file downloads it automatically.
Let us say i have a simple anchor tag
<a href="pdf/pdf-file1.pdf" > View PDF </a>
I tried to use download
as well as type="application/pdf"
in the anchor it self but it does not work.
I can force PDF file to open using C# code behind file, but I want to avoid that is there a simple HTML based way of doing it, not even in HTML 5