I put together a download script after some wonderful help from stack overflow the other day. However I have now found that after the file has been downloaded I need to relo
This is quick and easy to hack if needed.
Step 1: Add hidden button to .aspx page:
Step 2: Perform your default postback action and at the end register a startup script with jquery call which will trigger the hidden button click and cause a file to download:
ClientScriptManager cs = Page.ClientScript;
cs.RegisterStartupScript(this.GetType(), "modalstuff", "$('.btnExportUploaded').click();", true);