IE blocks pdf file save popup
<p>I have created savepdf.aspx which writes pdf file contents to response as attchment by following code</p>

<pre><code>       Response.Clear();
        Response.AppendHeader("Content-Disposition", "attachment; filename=Sample.pdf");
        Response.ContentType = "application/pdf";
        Response.BinaryWrite(transcriptFileBytes);
        Response.End();
</code></pre>

<p>When click on button of parent page savepdf.aspx opens as popup, which writes pdf file contens.</p>

<p>Now problem is popup just gets open and close immediatly without prompting for file save diaolog box.</p>

<p>But, when I hold Ctrl key while clicking on parent button, popup does appears and ask for file open save dialog box. This time works fine.</p>

<p>How to fix this behaviour through code?</p>
