I have a grid that has
.Excel(excel => excel
.FileName("Global Agenda Dashboard Grid.xlsx")
.Filterable(true)
.ProxyURL(Url.Action("Export", "Excel"))
.AllPages(true)
I have a Excel controller and in there a method
[HttpPost]
public ActionResult Export(string contentType, string base64, string fileName)
{
var fileContents = Convert.FromBase64String(base64);
return File(fileContents, contentType, fileName);
}
But as far as I can tell this function is not getting called, but the export is happening. Ideas?