Is there a way to pass an array to the controller? I attempted the following:
window.location.href = "/SomeController/SomeMethod?fields=" + SomeArray;
and also tried this:
window.location.href = "/SomeController/SomeMethod?fields[][]=" + SomeArray;
When I retrieve it in the controller, it comes out as:
public ActionResult SomeMethod(int[][] fields) // here fields = null;
{
// Some code
}