Top "Filecontentresult" questions

FileContentResult is an ActionResult in ASP.

Stream file using ASP.NET MVC FileContentResult in a browser with a name?

Is there a way to stream a file using ASP.NET MVC FileContentResult within the browser with a specific name? …

asp.net-mvc fileresult filecontentresult
How can I call an MVC FileContentResult by Jquery and get it to prompt the user to save on it's return?

I'm generating a CSV from an MVC 3 website and using a FileContentResult to pass this to the user. This worked …

jquery asp.net-mvc-3 model-view-controller filecontentresult
Handling FileContentResult when file is not found

I have a controller action that downloads a file from an azure blob based on the container reference name (i.…

c# asp.net-mvc-2 azure-storage-blobs filecontentresult
Best way to render System.Drawing.Image in ASP.NET MVC 3 View

I have an object of type System.Drawing.Image and would like to display this image in a view. What …

asp.net-mvc-3 html-helper filecontentresult
"File couldn't be downloaded" in Internet Explorer with ASP.NET MVC

So I'm returning a FileContentResult from an action like this: return File(pck.GetAsByteArray(), "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "MyExcelFile.…

asp.net-mvc internet-explorer filecontentresult