Enable Check Box in GridView

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
 
G

Greg9Strat

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?
 
S

shapper

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top