If I have the following MVC Action:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult GetDocument(int id, string fileName)
{
// ..... //
return File(fileStream, "text/plain", fileName);
}
I want to call the action on a click of a table row using jQuery. But I'm a bit confused, because I don't think I want an Ajax call here do I?