Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Need RadioButton belong to 2 GroupNames!

Reply
Thread Tools

Need RadioButton belong to 2 GroupNames!

 
 
Amelyan
Guest
Posts: n/a
 
      06-14-2005
When we want radio button to belong to a group name we say,
radio1.GroupName="GroupA". In this case, radio1 will be unselected if
another radio button is selected in "GroupA".

Is there a way (trick, or javascript) to make radio button (radio1) belong
to 2 independent radio button groups instead of one? This would be an
equivalent of sayting something like
radio1.GroupName1 = "GroupA";
radio1.GroupName2 = "GroupB";

Hence, whenever radio button is selected in one of the two groups, radio1 is
unselected. Also, I need a non-postBack solution.


Thanks,
Amelyan

PS> Example of what I need to accomplish:

Imagine that you have a matrix/grid of radio buttons with, for examle,
3 rows and 3 columns.

O O O
O O O
O O O

When you check a radio button in this matrix, you don't want anything
else selected in the same row or column. One neat way to accomplish
this is if there was a way to have radio button belong to two groups,
e.g. "Row2" and "Column2".


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slice bound doesn't belong to range.... Hilko VHDL 1 04-06-2006 12:24 PM
OT: All our Neil are Belong to Us Lasher MCSE 52 02-21-2006 11:26 PM
check if user belong to a domain against active directory without impersonation Caspy ASP .Net 3 08-04-2005 01:01 PM
I know this does not belong here... but.... =?Utf-8?B?U3R1YXJ0?= ASP .Net 1 06-29-2005 12:47 PM
Column 'link_url' does not belong to table links. Patrick Olurotimi Ige ASP .Net 7 05-12-2005 03:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57