472,803 Members | 983 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,803 software developers and data experts.

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 1930
<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: wooks | last post by:
I have defined a schema with an xsd:choice element for 2 mutually exclusive fields. When both are present I get an error which is good, but what is not so good is the error message which says...
3
by: softengine | last post by:
Can and how do you alter a data view to include a look up field from another data table? The data table of the dataview only has the key, the value I need is in another data table. Can and how...
5
by: WertmanTheMad | last post by:
Ive been playing with this for a few days and thought I might thow it out for seggestions. I have Several Queries that need counts returned The Queries are Mutually Exclusive meaning whatever...
2
by: js | last post by:
I include a asp:RadioButton in an ItemTemplate of a DataGrid like the following. However, the radio buttons are not mutual exclusive where select one will deselect the rest of the radio buttons. I...
2
by: Stimp | last post by:
I'm getting the error: 'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive when I try to populate a series of dropdowns... any idea what I could be doing wrong here? ...
5
by: Stimp | last post by:
Hi all, I've come back to this problem again and I've identified which part of my code is producing the error: "'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive" I...
0
by: sloan | last post by:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;316495 Radio Buttons Are Not Mutually Exclusive When Used in a Repeater Server Control ... Has 2.0 fixed this bug ?
0
by: sloan | last post by:
BUG: Radio Buttons Are Not Mutually Exclusive When Used in a Repeater Server Control http://support.microsoft.com/default.aspx?scid=kb;EN-US;316495 I programmed up a pretty simple page in 2.0. ...
2
by: arun | last post by:
Hi Can any one suggest me how to access the mutually exclusive check box extender in a table of 7 rows by 14 columns. Only one can be selected in each row. Other than checking each one with if...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.