title: Content-Disposition Filename not working on IE
body: <p>I am working on an asp.net/c# web application that allows users to view and download PDF files. When I am clicking on a file, I get to view that in the PDF reader available in the browser, and when I save it, the file should be saved with the name that I have passed via headers. But this is not the behavior in IE7 &amp; IE8</p>
  
  <pre><code>FileInfo f = new FileInfo(FileName);
  Response.ContentType = "application/pdf";
  Response.AddHeader("Content-Disposition", "inline; filename=" + f.Name)
  </code></pre>
  
  <p>When I click to save a file, the filename that I am sending over is not being used to save the file, but the filename of the aspx page in the url is being taken. Is this is a bug in IE. Everything works fine when I try it on Google chrome.</p>