troubleshooting Question

Checkbox in a grid (part 2)

Avatar of Andy Green
Andy GreenFlag for United Kingdom of Great Britain and Northern Ireland asked on
JavaScriptASP.NETjQuery
13 Comments1 Solution312 ViewsLast Modified:
I asked and got an excellent respose to this question the other day here:
https://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_28082406.html

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.

Andy
ASKER CERTIFIED SOLUTION
Zvonko
Systems architect
Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros