CheckBoxList in DataGrid Edit-Mode

C

CodeCowboy

I have a DataGrid that is editable. When you click on the Edit button
one of the columns provides you a list of check boxes (CheckBoxList)
which is populated just fine with the list of available options.

However, I cannot find a good way to then check the appropriate values.
Presumably the user has one or more of the checkboxes checked already
(and I have the data to know which ones) However, how do I set these?

PS - Telling me how to do it normally will not help me. Normally I
would just say something like:

....
myCheckBoxList.Item(2).Checked=True
....

When it's in a edittamplate is what I am trying to find out. I cannot
refer directly to the control name.
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top