S
Stu Lock
Hi,
I have a checkbox in a gridview template column with autopostback turned on.
I want to be able to handle this event but am unsure how. With other control
of this nature I have used CommandName and CommandArgument - but these are
not available on checkboxes.
Also, the checkbox does not raise the RowCommand event to catch it there.
I cannot use the CheckboxField as the I am binding to a column which has to
set 4 states:
-1 = Not visible
0 = Enabled & unchecked
50 = Enabled & checked
100 = Disabled & checked
Any ideas how best to achieve this?
Thanks in advance,
Stu
I have a checkbox in a gridview template column with autopostback turned on.
I want to be able to handle this event but am unsure how. With other control
of this nature I have used CommandName and CommandArgument - but these are
not available on checkboxes.
Also, the checkbox does not raise the RowCommand event to catch it there.
I cannot use the CheckboxField as the I am binding to a column which has to
set 4 states:
-1 = Not visible
0 = Enabled & unchecked
50 = Enabled & checked
100 = Disabled & checked
Any ideas how best to achieve this?
Thanks in advance,
Stu