how to load the pdf file inside iframe in asp.net?
<p>I want to display Pdf file inside iframe control.I have added my code like this below.</p>

<pre><code>in asp page,

&lt;iframe width=500 height=500 runat="server" id="myPDF" src="pdf_003.pdf"&gt;&lt;/iframe&gt;

in page_load

myPDF.Attributes.Add("src", "pdf_003.pdf");
</code></pre>

<p>When i run the project, then the pdf file is not visible inside the iframe.Instead of this, it shown the save as dialog box for save to disk or open in pdf reader.</p>

<p>it is correctly shown in internet explorer but not any other browser...</p>

<p>How do i view the pdf file inside iframe control in all other browser?</p>

<p>Please Guide me to get out of this issue?</p>
