Author: weisser95 | Posted on: 3/16/2010 9:15:25 PM | Views : 308

Hi.


There are a million examples of how to generate an Excel file from a web page. I've done that and it is no problem.


What I haven't been able to work out is: how can I update the screen to let the user know how many rows were exported?


It seems to me that after you've done your:


Response.Clear(); Response.Buffer = false; Response.ContentType = "text/csv"; Response.AddHeader("Content-Disposition", "attachment;filename=Export.csv"); Response.Charset = "";
then pumped the data our, then done the:
Response.End();
there's no way to cause a postback or do any subsequent server-side or client-side processing on the webpage with the Expor ...

Go to the complete details ...