how to make code execute after Response.end
<p>My code is like this</p>

<pre><code>HttpContext.Current.Response.Clear();
     HttpContext.Current.Response.ContentType = "application/pdf";
     HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment; filename=" + "name" + ".pdf");
     HttpContext.Current.Response.TransmitFile("~/media/pdf/name.pdf");
     HttpContext.Current.Response.End();
     if (FileExists("/media/pdf/name.pdf"))
     {
         System.IO.File.Delete("D:/Projects/09-05-2013/httpdocs/media/pdf/name.pdf");
     }
</code></pre>

<p>Here I want to download name.pdf in the browser, and after the download I want o delete that file.But the code execution stops at </p>

<pre><code>HttpContext.Current.Response.End();
</code></pre>

<p>no code after that line is executed.so my delete function is not working.Is there any work around for this issue?</p>
