httpwebresponse - Return both a CSV document and a HTML page in the same response -
I am aware of returning a CSV attachment in a postback in some way:
Response. Clear Response Content Type = "Text / CSV" Response Append header ("Content-Disposition", "Attachment; File Name = Test CSV") Response Wite (Load Text File (Appetite and "Test CSV")) Response.End ()
However, is it possible to return an attachment and an HTML page? The requirement is that the user clicks on an export button that saves CSV (like above) when posting back, but then refreshes the HTML page by saying "Thanks for downloading".
The title of this post may be completely incorrect ...
Cheers, Rob.