Unable to display PDF file in browser in ASP.Net

Last Reply on Jul 17, 2014 04:43 AM By Mudassar

Posted on Jul 17, 2014 01:20 AM


<asp:HyperLink ID="HyperLink7" runat="server" Target = "_blank" Text = "Show PDF" NavigateUrl = '~/mypdf.pdf'></asp:HyperLink>

If I use this html code how to make the pdf file open in new tab in browser

Posted on Jul 17, 2014 04:43 AM

It depends from browser to browser, if ADOBE Reader plugin is installed it will open otherwise it will download

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html