You can open the PDF in a new window:
<asp:HyperLink Target="_blank" runat="server" ID="linkBarPdf" Text="Open Bar PDF"
NavigateUrl="~/foo/bar.pdf">
This will not host the PDF file, but rather serves the file for execution by the local viewer. This MAY be a plug-in browser or may be outside the browser.
source
share