I am calling the MVC controller which returns a FileResult back using XMLHttpRequest. For some reason i don't get a prompt for download/save the file , i do get the file content as the response from the get request(Checked in network tab).
I don't have the url of the file only have contentbytes, so can't use window.location
Please help.