在新的浏览器窗口中呈现PDF(字节[]) [英] Render a PDF (byte[]) in new browser window

查看:95
本文介绍了在新的浏览器窗口中呈现PDF(字节[])的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET< LinkBut​​ton>当用户单击链接时,我喜欢数据库中作为字节数组的PDF.在新的浏览器窗口中显示pdf的最干净方法是什么?

我是否必须为此使用JavaScript?

I have an ASP.NET <LinkButton> and when the user clicks the link I like a PDF from the database as a byte array. What is the cleanest way to show the pdf in a new browser window?

Do I have to use JavaScript for that?

推荐答案

选中 [^ ]退出.


这篇关于在新的浏览器窗口中呈现PDF(字节[])的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆