open pdf from asp.net page

前端 未结 1 1689
梦谈多话
梦谈多话 2021-01-21 09:32

I have PDF that I would like to open from ASP.net project. I don\'t want to navigate to the PDF, but I want to keep the current page opened but when a user clicks on the link, I

1条回答
  •  走了就别回头了
    2021-01-21 09:51

    You could open the PDF in a new window:

     
    

    This won't host the PDF though, but rather serve up the file for execution by the local machine's viewer. That COULD be a browser plug-in, or it could be outside of the browser.

    0 讨论(0)
提交回复
热议问题