asp:CheckBoxField in GridView - VS 2008
<p>I have a gridview control bound to an object data source. in addition to the columns that i want to display i want to display this</p>

<pre><code> &lt;Columns&gt;
         &lt;asp:CheckBoxField DataField="Locked" Visible="true" AccessibleHeaderText="On Hold" ReadOnly="false"/&gt;
 &lt;/Columns&gt;
</code></pre>

<p>Couple of questions here:
1. If I do the above said, my page loads and certain rows have their records marked as checked and certain rows do not, as per data. However, the user is unable to click on any records to undo their check marks. It appears that this is in a disabled state.</p>

<ol>
<li><p>It seems there is no onclick event with this checkboxfield. I want to update my records instantly when the user checks or unchecks each record. yes bad design here but my hands are tied</p></li>
<li><p>If i were to go with <code>&lt;asp:checkbox&gt;</code> within an <code>&lt;itemtemplate&gt;</code> how do i bind that to my locked column within the object datasource or do i have to do that by overiding onne of the methods of the gridview control?</p></li>
</ol>
