468,119 Members | 1,983 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

mutually exclusive check boxes

Hi

Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.

Arun

Dec 15 '06 #1
8 1808
<ar**@visrez.comwrote in message
news:11**********************@t46g2000cwa.googlegr oups.com...
Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.
Well, at the risk of stating the bleeding obvious, that's what radio buttons
are for...
Dec 15 '06 #2
It sounds like you should be using radio buttons to me.

<ar**@visrez.comwrote in message
news:11**********************@t46g2000cwa.googlegr oups.com...
Hi

Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.

Arun

Dec 15 '06 #3
Thanks for your fast action.

But in this case I have to leave a row with no option checked (if a
user wants to do that).

Marina Levit [MVP] wrote:
It sounds like you should be using radio buttons to me.

<ar**@visrez.comwrote in message
news:11**********************@t46g2000cwa.googlegr oups.com...
Hi

Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.

Arun
Dec 15 '06 #4
Hi

First of all I am sorry to post the same message again and again. I
didnt do that intensionally. But I would have appreciated your answer
if it was more helpful to me. And as you told this is not at all a
private web. Thanks for opening my eyes

Mark Rae wrote:
<ar**@visrez.comwrote in message
news:11**********************@t46g2000cwa.googlegr oups.com...
Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.

Well, at the risk of stating the bleeding obvious, that's what radio buttons
are for...
Dec 15 '06 #5
"ar**@greettech.com" <ar**@visrez.comwrote in message
news:11**********************@j72g2000cwa.googlegr oups.com...
But in this case I have to leave a row with no option checked (if a
user wants to do that).
Why didn't you say that in the first place...?

So why not have an additional radio button called "None" or something
similar...?
Dec 15 '06 #6
I personally don't like introducing extra gui elements just to make the
developer's job easier. I would likely handle client-side onclick event to
unclick all the checkboxes but the one that caused the event.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:ud**************@TK2MSFTNGP02.phx.gbl...
"ar**@greettech.com" <ar**@visrez.comwrote in message
news:11**********************@j72g2000cwa.googlegr oups.com...
>But in this case I have to leave a row with no option checked (if a
user wants to do that).

Why didn't you say that in the first place...?

So why not have an additional radio button called "None" or something
similar...?

Dec 17 '06 #7
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:e4**************@TK2MSFTNGP06.phx.gbl...
>I personally don't like introducing extra gui elements just to make the
developer's job easier. I would likely handle client-side onclick event to
unclick all the checkboxes but the one that caused the event.
But to do that completely flies in the face of "accepted" GUI standards...
Checkboxes are not designed to be mutually exclusive - that's what radio
buttons are for...
Dec 17 '06 #8
Could be. Not the biggest crime though. Somehow the idea of a
"none-or-one-only" checkbox group doesn't upset my usability sense.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:OG**************@TK2MSFTNGP02.phx.gbl...
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:e4**************@TK2MSFTNGP06.phx.gbl...
>>I personally don't like introducing extra gui elements just to make the
developer's job easier. I would likely handle client-side onclick event to
unclick all the checkboxes but the one that caused the event.

But to do that completely flies in the face of "accepted" GUI standards...
Checkboxes are not designed to be mutually exclusive - that's what radio
buttons are for...

Dec 17 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by js | last post: by
2 posts views Thread by arun | last post: by
13 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.