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

Radiobuttonlist - can I have all radio buttons de-selected?

Is it possible to have a radiobuttonlist control appear on a webform
without any radio buttons checked to begin with?

I would really like to make sure that the user specifically chooses a
radio button choice, rather than just accept the default value, which
is the first radio button in the list being checked.

TIA,
-dnw.
Nov 18 '05 #1
3 1765

"Dot net work" <do***@hotmail.com> wrote in message
news:77**************************@posting.google.c om...
Is it possible to have a radiobuttonlist control appear on a webform
without any radio buttons checked to begin with?

I would really like to make sure that the user specifically chooses a
radio button choice, rather than just accept the default value, which
is the first radio button in the list being checked.

TIA,
-dnw.


I may be missing something in your question, but I just created a little C#
Web App with a RadioButtonList, added 5 buttons (using the Items property)
and left the Selected property for each item in the collection set to False.
The buttons are all unselected when the application runs. Appears to be
default behavior.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 18 '05 #2
I'm sorry, I have made a mistake.

You are correct.

Apologies, -dnw.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3

"Dot Net Work" <do***@hotmail.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
I'm sorry, I have made a mistake.

You are correct.

Apologies, -dnw.

Please don't feel you need to apologize for asking questions! That's how we
all learn :-)

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 18 '05 #4

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

Similar topics

1
by: Chris | last post by:
Hi Can you disable particular radiobuttons in a radibuttonlist control? I know you can disable the entire radiobutton list, but I'm interested in disabling radio buttons within the...
1
by: Christian H | last post by:
Hi! I'm wondering how I can add extra html to a radiobuttonList, so that I can control how: -the whole radioButtonList is rendered. -each of the radiobutton elements are rendered. What I am...
2
by: headware | last post by:
How can I disable a single radio button in a RadioButtonList? I tried doing this: radioList.Items.Attributes.Add("disabled", "true"); radioList.Items.Attributes.Add("disabled", "true"); but it...
1
by: | last post by:
Is it possible to disable just a certain radio button in a RadioButtonList control? I've researched this issue for a while now and haven't come up with anything. Thanks, Dave
2
by: hellrazor | last post by:
Hi there, I'm successfully streaming a list of items into a radiobuttonlist. I am using an ArrayList as a data source, which I have built from a table of values in a MySQL table. It's working...
0
by: Ryan Taylor | last post by:
Hello. I am having another issue. I need to execute some JavaScript whenever a radio button is clicked. I am currently using a RadioButtonList control to generate the radio buttons because of...
2
by: rishi pariahr via .NET 247 | last post by:
how to make validation on items of radiobuttonlist for checked or not in jsp,when these items are populated from database. -------------------------------- From: rishi pariahr ...
5
by: Mike Salter | last post by:
I created a page that reads a DB for questions and possible answers (usuallyYes/No). I create a panel for each group of questions, and add a panel for each question to the Group panel. To the...
5
by: Brett | last post by:
I'm using VB .NET 2003. In the toolbox, I should have the RadioButtonList but it isn't there. I've sorted aphebetically but only have RadioButton and RadioButtonArray. I right click to add an...
13
by: tommymo | last post by:
Hi everyone I'm new to this site and the world of ASP.Net C# programming. I have been learning controls and integrating them with a SQL database. So far I have been able to move along and understand...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.