I want to download files on browser with ajax and ActionResult. The file is downloaded and returned from my ActionResult.
I see the Http query is ok and see the data
I changed of idea. I simply send my pdf (from my controller) in 64 base and make in the ajax :
success: function (data) { window.open("data:application/pdf;base64," + data.data, '_blank'); }