I asked and got an excellent respose to this question the other day here:
I have to expand this, and its doing my head in.
In each row of a grid (a Rad Grid) I have the following:
checkboxL CheckboxR Textbox CheckboxPri CheckboxSec
What I'm trying to do using the code previously provided it to do this:
1. If either the L or R check boxes are ticked then the checkboxSec is also ticked row changes colour
2. If checkboxPri is ticked the checkBoxSec is also ticked ( this was the original question) row changes colour
3. If any other CheckBoxPri is ticked then the previous checkboxPri is unticked but leaves the CheckboxSec ticked. I'm doing thsi OK with an on click event
4. if CheckbocSec is unticked all checkboxes are cleared as is any text in the text box, row colour is removed.
I appreciate this is a lot of work, but any pointers would be brilliant.