title: Html.Grid containing checkbox per row
body: <p>I am using Html.Grid in my asp.net MVC2 application.</p>
  
  <p>The grid contains checkboxes per row. </p>
  
  <pre><code>&lt;%= Html.Grid&lt;MyViewModel&gt;(Model.MyList)
          .Columns( column =&gt; {
              column.For(x =&gt; Html.CheckBox("Select", false, new { id = x.ID })).DoNotEncode();
  </code></pre>
  
  <p>I need to loop through the checked records and action them. How can I retrieve the checked id values when I do a postback on a button click.</p>
  
  <p>Thanks :)</p>