How can I add a checkbox to each row of a MVCcontrib grid. then when the form is posted find out which records were selected? I Am not finding much when searching for this. Tha
In your view (say ReportList.cshtml) include your grid in a form and define an action for the form
Then in your controller implement your action method
public ActionResult SubmitReportList (string ReportListSubmit, IList chkSelected){
// The IList chkSelected will give you a list of values which includes report ids for the selected reports and “false” for the non-selected reports. You can implement your logic accordingly.
return View("ReportList");
}