title: Side actions not happening after Response.WriteFile()
body: <p>As per an ASP.NET page, on click of a button the following actions should happen:</p>
  
  <ol>
  <li>Download a file from server</li>
  <li><p>Perform clean up actions like</p>
  
  <ul>
  <li>Hide a Button</li>
  <li>Set text to a label</li>
  <li>Display the label</li>
  <li>Disable a button</li>
  <li>etc.</li>
  </ul></li>
  </ol>
  
  <p>Now the download part happens through the following code:</p>
  
  <pre><code>Response.Clear();               
  Response.Buffer = true;
  Response.ContentType = "application/pdf";
  Response.AddHeader("Content-Disposition", "attachment; filename="+strFileName+".pdf");
  Response.WriteFile(strBrowserPath); 
  </code></pre>
  
  <p>And the remaining actions (Point 2) are done after.</p>
  
  <p>Sadly, since Response.Clear()/Response.WriteFile() is used the remaining server side actions are not happening.</p>
  
  <p>Any alternatives? Any fixes for this?</p>