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
<Columns>
<asp:CheckBoxField DataField="Locked" Visible="true" AccessibleHeaderText="On Hold" ReadOnly="false"/>
</Columns>
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.
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
If i were to go with
<asp:checkbox>
within an<itemtemplate>
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?