473,387 Members | 1,515 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,387 software developers and data experts.

Q: check radio button

Hello,
In a group of radio button, what is the quickest way to check which one is
selected?
Thanks,
Jim.

Nov 19 '05 #1
5 1336
use radiobuttonlist it gives u the selected one...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hello,
In a group of radio button, what is the quickest way to check which one is
selected?
Thanks,
Jim.

Nov 19 '05 #2
Can give me a page that show how ro use it? I think I treid once but never
got two items there.

"Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
use radiobuttonlist it gives u the selected one...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
Hello,
In a group of radio button, what is the quickest way to check which one is
selected?
Thanks,
Jim.


Nov 19 '05 #3
I think, this link would help
http://msdn.microsoft.com/library/de...WebControl.asp
--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...
Can give me a page that show how ro use it? I think I treid once but never
got two items there.

"Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
use radiobuttonlist it gives u the selected one...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
> Hello,
> In a group of radio button, what is the quickest way to check which one
> is
> selected?
> Thanks,
> Jim.
>


Nov 19 '05 #4
Offf Yusuf,
This requires so much reading. I added radiobuttonlist and it is one
unbounded component, how can I make this keep three options. Doe it have to
be coming from a table? It is not coming from database, I have it on my page
only.
Thanks,
Jim.
"Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
I think, this link would help
http://msdn.microsoft.com/library/de...WebControl.asp
--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...
Can give me a page that show how ro use it? I think I treid once but never
got two items there.

"Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
use radiobuttonlist it gives u the selected one...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:39**********************************@microsof t.com...
> Hello,
> In a group of radio button, what is the quickest way to check which one
> is
> selected?
> Thanks,
> Jim.
>


Nov 19 '05 #5
For instance,

RadioButtonList1.DataSource = new Object[]{"A","B","C"};
RadioButtonList1.DataBind();

It is all over.

But u can not learn anything withour reading !!! You must read for u, not
for me.. You can use the code given above which show u how, or u can read
that articles and learn what and why. It is up to u...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
Offf Yusuf,
This requires so much reading. I added radiobuttonlist and it is one
unbounded component, how can I make this keep three options. Doe it have
to
be coming from a table? It is not coming from database, I have it on my
page
only.
Thanks,
Jim.
"Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
I think, this link would help
http://msdn.microsoft.com/library/de...WebControl.asp
--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...
> Can give me a page that show how ro use it? I think I treid once but
> never
> got two items there.
>
> "Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
>
>> use radiobuttonlist it gives u the selected one...
>>
>> --
>>
>> Thanks,
>> Yunus Emre ALPÖZEN
>> BSc, MCAD.NET
>>
>> "JIM.H." <JI**@discussions.microsoft.com> wrote in message
>> news:39**********************************@microsof t.com...
>> > Hello,
>> > In a group of radio button, what is the quickest way to check which
>> > one
>> > is
>> > selected?
>> > Thanks,
>> > Jim.
>> >
>>
>>
>>


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: tabonni | last post by:
I want to check each button groups and save the checked value into a 2 dimensional array. But, it doesn't work. Could anyone tell me what's wrong with my code. My code is as follow: <html>...
4
by: Oscar Monteiro | last post by:
I Have to sets of Radio buttons like so: <input type="radio" name=p1 value=1> <input type="radio" name=p1 value=2> <input type="radio" name=p1 value=3> <br> <input type="radio" name=p2 value=1>...
2
by: jimi_xyz | last post by:
Sorry if this isn't the correct group, i don't think there is a group for straight HTML. I am trying to create a type of search engine. There are two radio buttons at the top, in the middle there...
4
by: Jared | last post by:
Radio Button or Check Box and Event Procedures I need to insert either radio buttons or check boxes onto my form. I'm not sure which to use, or if there are other options. I am using the buttons...
3
by: Flip | last post by:
In setting up a radio button group last night, I added two radio buttons, gave each of them their respective name and gave them both the same group name. So far so good. But then when I tried to...
7
by: VB Programmer | last post by:
How do I create a submenu so that I can only check ONE of the values? Example: Menu --> Color SubMenu --> Red Value 1 --> Yellow Value 2 --> Green Value 3 Thanks....
3
by: Harry Haller | last post by:
I have a radio button group. When the page loads none of them are selected. OnClick selects ONE and clicking another one selects a different one - this is normal behavior. I want to modify it so...
5
by: Bob | last post by:
Hi at all I have a radio group with 3 options <input type="radio" value first" name="first" id="choices"> <input type="radio" value="second" name="second" id="choices"> <input...
8
by: photoboy | last post by:
I have racked by brain long enough on this, so now I need the help of someone who knows what they are doing. Here is what I am trying to achieve: First, I have two radio buttons (both unchecked)...
2
by: AAaron123 | last post by:
You can use RadioButtonRenderer to make a button look like a radio button. Is there a similar way to make check boxes look like radio check boxes? Same about menu items?
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.