Click here to Skip to main content
15,913,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all
once i make a pdf link in my page like this


XML
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
Posted

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/
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900