Hi I am calling a Handler.ashx from ActionResult
ViewBag.IMG = "Handler.ashx?img=" + imagetest +
, if the ActionResult is Index it works fine,
http://localhost:11111/ImageHandler.ashx?img=image
however if it is any other name, it does not call the Handler!!
http://localhost:11111/ActionReult(name)/ImageHandler.ashx?img=image
It adds the ActionResult name in the url.
Any Idea, thanks in advance.
Then i not understand false, .ashx instead, can use controller in return FileContentResult or FileResult to File or FileStreamResult to File.
Sample
Or
so that by variable public
Url : File/Index/fillo_kargo.png