With MVC3, I have a controller that returns a FileContentResult, which is a JPEG. I can call this and it displays the JPEG perfectly in the browser. I would like to display this multiple times on the page and the only reasonable way I can think of is using calling Html.RenderAction() multiple times within a view. This works for action methods that return ViewResult but not for this one that returns FileContentResult.
Error is Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.HelperResult)' has some invalid arguments
What am I doing wrong?
Many thanks