title: Keep Browser waitng after Response.BinaryWrite command
body: <p>I have an ASPX page that when the Browser navigates to returns some HTML. In some cases I want to return a file but have Browser continue waiting for HTML to return. I tried different things but as soon as Response.BinaryWrite executes the Browser gets a file downloaded and stops waiting. My question is it even remotely possible to do what I am trying to achieve?</p>
  <p>What I am currently doing is that the returned HTML also downloads the file. That works fine but leaves the files on the server. I want to get rid of it right after the download is complete.</p>
  <p>Thanks</p>
  <p>Update</p>
  <pre><code>protected void ReportViewer1_Load(object sender, EventArgs e)
      {
          try
          {
              // some code only relevant to reportviewer
          }
          catch (Exception ex)
          {
              Response.Write(ex.ToString());
          }
      }
  </code></pre>