Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?
For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4
On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you. 3 31523
This might help you: http://www.codeproject.com/useritems/RadioListBox.asp
Cheers,
Johnny J.
"Sin Jeong-hun" <ty*******@gmai l.comwrote in message
news:11******** **************@ q75g2000hsh.goo glegroups.com.. .
Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?
For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4
On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you.
Why doyou stipulate that you can't use an group box or a panel? One
of the uses of the panel control is to do exactly what you want.
Dom
On May 2, 11:11 pm, Sin Jeong-hun <typing...@gmai l.comwrote:
Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?
For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4
On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you.
You mean that it is impossible? I was just curious if I could group
radio buttons
without other container components. If it is impossible, I will use a
panel.
Thank you.
On May 5, 12:21 am, Dom <dolivas...@gma il.comwrote:
Why doyou stipulate that you can't use an group box or a panel? One
of the uses of the panel control is to do exactly what you want.
Dom
On May 2, 11:11 pm, Sin Jeong-hun <typing...@gmai l.comwrote:
Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?
For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4
On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Brian Henry |
last post by:
In standard VB.NET you can group radio buttons in a pannel or frame and when
you click on one in that frame or pannel the others will update relative to
the selection so only the one you picked is selected, how do you do this
similary in ASP.net? I know there is a radio group but what about a single
radio button? how would you do it with a couple single radio buttons like
you can in VB.net.. thanks
|
by: James P. |
last post by:
Help,
I need to display radio buttons on a form. The data is from SQL
table: each row in each table is displayed as a radio button. I have
multiple SQL tables so I understand I need to put them each in a
GroupBox. All the examples I saw from the books or from the web show
me how to add static radio buttons at design, or dynamically at run
time but with fixed radio buttons (like from an array).
I need to create radio buttons based...
|
by: lakepeir |
last post by:
Hello,
I have 4 radio buttons in a groupbox on a form. When I run the
application, I would like to only select one radio button, but I can
select one radio button from the first three radion buttons and the
last radio button. It appears that the last radio button is not
grouped with the others although I have them all in the same groupbox.
Please help. Thanks.
|
by: dpazza |
last post by:
Hi,
I'm creating a quiz on using a form in VB 2005 express.
I have four sets of questions and answers (labels and radio buttons)
and I change between which set of questions is currently shown on the
form by changing the visible state of the radio buttons and labels
utilising back and next buttons.
E.g. Next button makes current radio buttons and labels invisible and
|
by: hawaiijeff |
last post by:
OK, this is a newbie question that I can't seem to find the answer to. I'm in Access 2002 and trying to group radio buttons together so that only one of them can be clicked at a time. I can't seem to figure it out. This one won't require an expert to answer! Thanks.
| |
by: nudrat |
last post by:
Hi All,
I have two groups of radion button sets. based on selection of one group made the other group radio buttons disable. suppose some one has selected one radion button from a group, so one button will get disabled from other groups.
i have written following codes.
actually its working, but its not looking good.
sub checkChanged(2 parameterrs are here)
{
if (radiobutton1.checked)
{
...
|
by: Gugale at Lincoln |
last post by:
Hi,
I am using reflection to read names from enum and creating radio buttons
inside a groupbox. Everything is working fine. However, I am not able to
adjust the size of the group box to fit the content. Is there a simple
solution to this problem? Parent of group box is FlowLayoutPanel which fills
the parent form.
string names = Enum.GetNames(pi.PropertyType); //pi is a PropertyInfo
object which represents a property of type enum.
|
by: ayush patel |
last post by:
Hi this is rather a simple question but i dont know why it is creating a problem. i have two radio buttons in a panel and they have to be mutually exclusive. in windows application i know it works well. but here even though i have both the buttons in panel they are not mutually exclusive. i am able to clcik on both of then.
can any one give me a quick response for this.
Ayush.
|
by: MIcahMIcah |
last post by:
Howdy all,
New member, first post.
I've got a form designed to be a scorecard for quality assurance monitoring in a customer service call center. The person I'm kaing the database for wants radio buttons for answering the questions - Yes, No and N/A. I'm good with this.....
The other piece to it is that he wants a way to assign a number value to each radio button to "weight" a particular question differently than other questions.
I can set...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |