Enable Check Box in GridView

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I have a CheckBoxField in my GridView but it is disabled.

I need to make it enable so that the user can set that data field to
true or false.

Then on a click of a button I would need to get the updated data.

How can I do this?

Thanks,

Miguel
 
Hello,

I have a CheckBoxField in my GridView but it is disabled.

I need to make it enable so that the user can set that data field to
true or false.

Then on a click of a button I would need to get the updated data.

How can I do this?

Thanks,

Miguel


Can you post some of your existing code? Also, do you always want the
checkbox to be enabled, or only in edit mode?
 
Can you post some of your existing code? Also, do you always want the
checkbox to be enabled, or only in edit mode?

Hi,

I solved this one by using a Template Field with a Check Box.
It seems the CheckBoxField is only active if you have the
UpdateCommand and everything else active with an SQL DataSource which
is not my case.

Thanks,
Miguel
 
Back
Top