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.
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.