Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to Display PDF file in new web browser tab in asp.net c#.
can any one give me solution?
thank you.
if available give me screen shots?
Posted
Updated 26-Dec-13 1:55am
v2

This is actually very simple to do. Just use a hyperlink to the pdf file and set the target to "_blank." This causes the browser to open in a new tab or possibly window (depending on the browser settings.)
 
Share this answer
 
please read this article, it will describe you how to open a url in new browser...

How To Open a Web Page In a New Browser ASP.NET?[^]
 
Share this answer
 
XML
<iframe id="Iframe1" src='<%#"uploaded/"+ Eval("PDF_Name") %>' height="600px" width="500px"
           runat="server" style="margin-right: 1px"></iframe>
 
Share this answer
 

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