title: Document Ready not working after file download
body: <p>I have a Aspx page.
  On button Click i am downloading a file from server.</p>
  
  <p><strong>Server side code for downloading a file.</strong></p>
  
  <pre><code>   byte[] data = GetBytes();
      //Sets the Content Type and FileName 
      HttpContext.Current.Response.ContentType = "plan/text";
      HttpContext.Current.Response.AddHeader("Content-Disposition",  string.Format("attachment;filename={0}", "Error.txt"));
  
      //Writes the Content in HttpResponse
      //to enable downloading the file.
      HttpContext.Current.Response.Clear();
      HttpContext.Current.Response.BinaryWrite(data);
      HttpContext.Current.Response.End();
  </code></pre>
  
  <p><strong>Javascript code on Aspx page.</strong></p>
  
  <pre><code>$(document).ready(function () {
   alert(1);
  });
  </code></pre>
  
  <p>This alert is getting shown on the first page load.
  But it not showing the alert after the postback for file download.
  Thanks in Advance.</p>