Post checked checkboxes to controller action without using HTML helper like Html.CheckboxList
I have a list of items and I would like to delete items that are checked in a list of checkboxes. I can't use something like CheckboxList since I'm using Grid.Mvc to display my lines. That is why I create checkboxes in each line with column.add("<input type="checkbox".....>); . Every checkbox has its own ID: <input type="checkbox" id="3"> <input type="checkbox" id="4">... I would like to know how to pass all checked checkbox IDs to the controller (from there I will perform delete operations). How can I post an array of checked IDs from my form to my controller action with one button press?