hey guys I have a problem, don't know what I am doing wrong here. I have a gridview and in that gridview I have a checkbox as below.
if I check this box it does not change the status. If I change it to this
The status is alwasy checked. I just can't seem to get the state of the checkbox to be correct when its clicked. Visually its perfect. When I run through the items in the gridview and get the status of the control its alwasy whatever the default is in the template. ALWAYS. What am I missing.
Code:
<ItemTemplate>
<asp:checkbox runat="server" id="ITEMCHECKBOX"></asp:checkbox>
</ItemTemplate>
if I check this box it does not change the status. If I change it to this
Code:
<ItemTemplate>
<asp:checkbox runat="server" id="ITEMCHECKBOX" checked></asp:checkbox>
</ItemTemplate>