ASP.NET MVC + jQuery – Download File from Controller FileContentResult
$("#downloadbtn").click(function () { window.location = "@(Url.Action( "DownloadPDF", new { fileName = "ABC001.RDLC" } ))"; return false; }); |
ASP.NET MVC + jQuery – Download File from Controller FileContentResult
$("#downloadbtn").click(function () { window.location = "@(Url.Action( "DownloadPDF", new { fileName = "ABC001.RDLC" } ))"; return false; }); |