If it's a bound field, then by default it will be read-only in the regular view and then if you add a edit command link it will be active when you're editing the row. If you want the checkbox to be active in the regular view you'd need to convert it to a template field and then change the checkbox enabled property in the itemtemplate. You then need to have a button to check through all the rows in the gridview to persist the checkbox values that have been changed.
>Hi everybody,
>
>I looked through several links but I'm still not clear as how to make the CheckBox field in a GridView to be easily clickable. In my current view it is
>
>
><asp:CheckBoxField DataField="Approved" HeaderText="Approved" SortExpression="Approved" />
which makes it readonly.
>
>I need to be able to simply click on this checkbox. Do you know how can I set up this field in a GridView?
>
>Thanks a lot in advance.
Regards,
E.R. Gilmore