Click here to Skip to main content
16,012,028 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
I want view pdf file in my website , I try this
XML
<div>
        <iframe src="OOP.pdf" width="250" height="400" />
    </div>


but when I request this page , Internet Download Manager popup and ask me for download that file !! and file dosen't view

how can me view file without down it ?

thank you
Posted
Comments
Sergey Alexandrovich Kryukov 6-Mar-13 1:53am    
The problem is that some browsers may lack PDF support... so, downloading is normal thing.
—SA
Sergey Alexandrovich Kryukov 25-Mar-13 18:39pm    
Please stop posting non-answers as "solution". It can give you abuse reports which eventually may lead to cancellation of your CodeProject membership. And the fact you even self-accepted on formally is just outrageous, a sure way for a ban. I hope you won't do it after this warning.

Comment on any posts, reply to available comments, or use "Improve question" (above).
Also, keep in mind that members only get notifications on the post sent in reply to there posts.
—SA

1 solution

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 6-Mar-13 2:06am    
Makes sense, my 5.
—SA
Mehdi Gholam 6-Mar-13 2:11am    
Amazing what you can do in js :)
Sergey Alexandrovich Kryukov 6-Mar-13 2:18am    
:-)
ocean99 6-Mar-13 2:27am    
ok in js but How ?

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