我的网页网站上的pdf链接 [英] pdf link in my page web site

查看:90
本文介绍了我的网页网站上的pdf链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好所有

一旦我在我的页面中制作了这样的pdf链接





 HyperLink ID =HyperLink2runat =server
NavigateUrl =〜/ books / c#.pdf> HyperLink < / asp:HyperLink >
< ; pre lang < span class =code-keyword> = c# >



当我点击这个链接我的网页保存书之后我才能看到它怎么能看到它而不保存在我的电脑里

解决方案

请参阅此链接



SmartLook [ ^ ]



<小时ef =http://stackoverflow.com/questions/7884417/how-to-show-pdf-inside-the-aspx-page>如何在aspx页面中显示pdf? [ ^ ]



在客户端或服务器上未安装Acrobat Reader的ASP.NET PDF Viewer用户控件 [ ^ ]



问候......:笑:


我使用2010和FireFox浏览器。

没关系。



<%@ Page Title =主页语言=C#MasterPageFile =〜/ Site.masterAutoEventWireup =true

CodeFile =Default.aspx.csInherits =_ Default%> < br $>


< asp:Content ID =HeaderContentrunat =serv呃ContentPlaceHolderID =HeadContent>



< asp:Content ID =BodyContentrunat =serverContentPlaceHolderID =MainContent>





欢迎使用ASP.NET!





要了解有关ASP.NET的更多信息,请访问 www.asp.net

< asp:HyperLink ID =HyperLink1runat =serverNavigateUrl =〜/ PDF / test.pdf> HyperLink





您还可以找到

title =MSDN ASP.NET Docs> MSDN上的ASP.NET文档
















这是按钮点击的另一个链接。

http://www.c-sharpcorner.com/UploadFile/5089e0/how-to-open-pdf-files-in-web-brower-using-Asp-Net/

hello all
once i make a pdf link in my page like this


HyperLink ID="HyperLink2" runat="server"
        NavigateUrl="~/books/c#.pdf">HyperLink</asp:HyperLink>
<pre lang="c#">


when i click in this link my web save the book before i can see it how can see it without save in my computer

解决方案

Refer to this link

SmartLook[^]

how to show pdf inside the aspx page?[^]

ASP.NET PDF Viewer User Control Without Acrobat Reader Installed on Client or Server[^]

Regards.. :laugh:


I use 2010 and FireFox browser.
It is OK.

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">


Welcome to ASP.NET!



To learn more about ASP.NET visit www.asp.net.
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/PDF/test.pdf">HyperLink



You can also find
title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN
.








That is the another link of button click.
http://www.c-sharpcorner.com/UploadFile/5089e0/how-to-open-pdf-files-in-web-brower-using-Asp-Net/


这篇关于我的网页网站上的pdf链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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