Hi!
I have a server-side button_Click event handler that generates an Excel file and downloads it to client with
Response.AddHeader(...);
Response.TransmitFile();
I want to refresh a page after the download is complete, but i don't know how to do it - things like ClientScript.RegisterScriptBlock(..., "alert('hi');"...) don't write anything to the page. Is it possible to catch any event of "File Download" dialog box ? Or to make the page refresh itself after user makes his choise there?

Recommended Answers

All 2 Replies

Thanks, it helped.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.