473,563 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1963
<ar**@visrez.co mwrote in message
news:11******** **************@ t46g2000cwa.goo glegroups.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.co mwrote in message
news:11******** **************@ t46g2000cwa.goo glegroups.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.co mwrote in message
news:11******** **************@ t46g2000cwa.goo glegroups.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.co mwrote in message
news:11******** **************@ t46g2000cwa.goo glegroups.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.co mwrote in message
news:11******** **************@ j72g2000cwa.goo glegroups.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**@markNOSPA Mrae.comwrote in message
news:ud******** ******@TK2MSFTN GP02.phx.gbl...
"ar**@greettech .com" <ar**@visrez.co mwrote in message
news:11******** **************@ j72g2000cwa.goo glegroups.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.orgwro te in
message news:e4******** ******@TK2MSFTN GP06.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**@markNOSPA Mrae.comwrote in message
news:OG******** ******@TK2MSFTN GP02.phx.gbl...
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in
message news:e4******** ******@TK2MSFTN GP06.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
1862
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 something like "Element content is invalid. Expecting: fieldname, {...." The problem (if it is one) is that the "Expecting: fieldname..." bit is...
3
459
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 to you reference the value of a column in a data table/view from the row filter string of a different data view. I'm using a strongly typed...
5
3706
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 Query they return in first they cannot be included in the counts of any queries below them. This set of queries for example
2
3209
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 know there is a similar bug with RadioButton in a DataList. Does this bug also apply to Datagrid? If not, how can I set them to be selected...
2
1924
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? Thanks. --
5
10091
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 have a dropdown 'Year' and it contains a list of years from 2000 to 2005. This dropdown is populated on page load.
0
1279
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
1265
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. The issue seems to still be there. Is it supposed to be fixed for 2.0?
2
3368
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 condition is there any other way( for example by using their keys or something). Please help me. Arun( arun@greettech.com )
0
7579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8101
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6238
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5204
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3631
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3615
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2077
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
912
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.