I have a form on my page, when i click the submit button it sends the info to the server and the server sends back a PDF through \[code\]Context.Response.OutputStream.Write\[/code\].What I want is for the page to reload after the PDF is saved.What i use is these lines of codes\[code\]Context.Response.ContentType = "application/pdf"Context.Response.AppendHeader("Content-Disposition", "attachment; filename=" + Resources.Resources.pdfFileName)Context.Response.OutputStream.Write(b, 0, b.Length)\[/code\]And i tried to add this line after those\[code\]Response.redirect("default.aspx")\[/code\]But it doesn't work. It redirects before the page before the save dialog show up.I tried to add and event to my stream, but that doesn't seem to exist.Is there a way to wait for the outputstream to be finished until doing something else, or to have an event linked to the save dialog?