Click here to Skip to main content
15,867,860 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanna add one link in my asp page. While clicking on page it should open one pdf file in new tab
How can i do this?
Please help me
Posted
Comments
bbirajdar 26-Mar-13 10:02am    
If the browser supports to open PDF inline ( like Chrome, IE 10) , then it will open . Otherwise not

1 solution

All you need to do is put a hyperlink to the pdf file and set the target="_blank" but depending on the browser it may open in a new window or a new tab.
 
Share this answer
 
Comments
Am Gayathri 27-Mar-13 1:54am    
ya got Thanks..........

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