What is the best way to achieve the below in latest latest browsers (with html5 support). I mainly target Google Chrome.
In my application, data is manipulated throu
I agree with Nathan Hayfield. The browser will handle the save dialog box for you. Setting the header Content-Disposition will send the response back as an attachment and the browser will handle it from there. eg.
content.Headers.Add("Content-Disposition", "attachment; filename=export.csv");