I load an excel file into a C # action method, reutrns FileResult, for example:
return File(bindata, "application/octet-stream", "mytestfile.xls");
When I manually navigate to the URL corresponding to the above method, I get a visualized representation of the file. The file will not load using Save As -dialog.
Is there a way to make the download happen using Save As -dialog?
-pom -
source share