Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: How do I send data to excel and then refresh aspx page?

$
0
0
Russ, there may be some javascript functions that could be set up to intercept the file download response and do both the download and refresh or redirect the screen after the download completes. But I have to say that in all my time using the web, I don't recall any time where a file was downloaded and then I got redirected to another page.

However, you might be able to do what you ask by saving the file locally (either synchronously or asynchronously), returning a refresh or redirect command and then doing the download from the redirected screen. Though this would leave the file on the server.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>