473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1953
<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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.