I need to run several methods after sending file to a user for a download. What happens is that after I send a file to a user, response is aborted and I can no longer do any
Response.End() throws a thread abort exception. It is designed to end your response. No code after that will process in that thread.
The End method causes the Web server to stop processing the script and return the current result. The remaining contents of the file are not processed.
What is it that you are trying to achieve?
If your purpose it to allow the pdf to download and then take the user to some other page, a little javascript can help you out.
Add a script with a timer to set location.href to your redirected paged.