我正在建立一个界面来查看PDF文档的长列表(在Chrome中),这些文档都是<embed>。
<embed width="100%" height="100%" name="plugin" src="http://example.com/path/to/pdf/11749" type="application/pdf">
它工作得很好,但是控制台填充了这个(每个嵌入式PDF对应一个):
Resource interpreted as Document but transferred with
我试着用这个HTML代码在浏览器中预览一个pdf:
<div class="col-xs-12 clearfix">
<object width="100%" height="600px" data="<%- model.pdf %>" type="application/pdf">
<p>It appears you don't have Adobe Reader or PDF support in this web browser.
<object>标签在移动浏览器中是否受到广泛支持?!我正在尝试嵌入PDF文件,但似乎不支持它。
我正在使用以下html查看PDF
<object data="pdf/sample.pdf#view=Fit" type="application/pdf" width="100%" height="400px">
<p>It appears you don't have Adobe Reader or PDF support in this web browser. <a
我想显示我的pdf文件在新的选项卡,当我点击按钮的网格视图。我该怎么展示?谁来帮帮我。这是我的密码。
'my gridview button click event
Protected Sub btnDisplay_Click(sender As Object, e As EventArgs)
Dim grdrow As GridViewRow = CType((CType(sender, Button)).NamingContainer, GridViewRow)
'I save pdf with datetime but showing