I have 2 actions inside one controller.
public ActionResult Index(string filter, int[] checkedRecords)
and
public ActionResult ExportChkedCSV(string filter, int[] checkedRecords)
The second action (ExportChkedCSV) contains this redirect:
if (reject != 0) { return RedirectToAction("Index", new { filter, checkedRecords }); }
When I go over, the checked Records parameter is correctly populated in the RedirectToAction statement, but when it gets into the Index ActionResult, checkedRecords is NULL. I tried doing filter =, checkedRecords = etc. I have no problem with this from View to Controller. If I changed the type of the array to something else, I can capture the value - how do I pass int [] from action to action? What am I doing wrong? Thanks you
source share