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

Where is RadioButtonList?

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 item and the Customize Toolbox
dialogue comes up. The RadioButtonList is checked but still isn't in the
toolbar. Any suggestions?

Thanks,
Brett
Nov 21 '05 #1
5 13791
"Brett" <no@spam.net> wrote in
news:OG**************@TK2MSFTNGP10.phx.gbl:
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
item and the Customize Toolbox dialogue comes up. The RadioButtonList
is checked but still isn't in the toolbar. Any suggestions?

Thanks,
Brett


Right click - show all tabs - its in web forms. Its not available for
windows forms.
Nov 21 '05 #2
"jo0ls" <jo***@invalid.null> schrieb:
RadioButtonList but it isn't there.

[...]
Right click - show all tabs - its in web forms. Its not available for
windows forms.


.... and thus you cannot/should not use it on Windows Forms applications ;-).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
"jo0ls" <jo***@invalid.null> schrieb:
RadioButtonList but it isn't there.

[...]
Right click - show all tabs - its in web forms. Its not available for
windows forms.


... and thus you cannot/should not use it on Windows Forms applications
;-).


Well, my goal is to have two or more radio buttons. Only one can be checked.
The only two values are "yes" and "no". The radio buttons would need to have
the same name but give different values, depending on their checked state.
How can this be done?

Thanks,
Brett
Nov 21 '05 #4
Brett,

Just drag a groupbox on your form and in that two radiobuttons, probably a
strange thing to do for somebody working with webforms, however this works
with winforms very nice.

The rest goes almost automaticly.

Cor
Nov 21 '05 #5
"Brett" <no@spam.com> schrieb:
Well, my goal is to have two or more radio buttons. Only one can be
checked. The only two values are "yes" and "no". The radio buttons would
need to have the same name but give different values, depending on their
checked state. How can this be done?


Add the radiobuttons to a panel or groupbox to group them. Only one
radiobutton per group can be checked.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6

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

Similar topics

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...
3
by: William LaMartin | last post by:
If I create a RadioButtonList with, say, two items, then after the page loads and I select one of the items and then click on a button whose click event contains some code to display the...
5
by: DotNetGruven | last post by:
Anyone have any pointers on how to set the Value and Selected attributes in a ListItem in a RadioButtonList that is in a DataGrid? Here's what I have ------DataGrid------ -- BoundColumn 0 --...
6
by: DotNetGruven | last post by:
I have a webform that has a DataGrid on it with a RadioButtonList in each row. It is a simple On & Off. When the User Clicks on either of the RadioButtons, I need to postback to the server and...
0
by: Luis Esteban Valencia | last post by:
http://www.codeproject.com/aspnet/DataGridCCEvents.asp#xx1009236xx Read this first and see if you can help me have tried but the Intelisense of the radiobuttonlist doestn have the event...
5
by: Øyvind Isaksen | last post by:
I'm making a page to update articles. When a radiobuttonlist is displayed, I want the stored value to be displayed as default (checked). Example: I use a procedure to display the...
2
by: Michael Bohman | last post by:
Hi, i have a small problem with assigning a database value to a RadioButtonList control. On my form i have 3 user admin=1, premium=2 and basic=3, theese values is stored in an access database in a...
4
by: Marty | last post by:
I am using: VS2005 Pro WinXP Pro SP2 IIS 5.1 ..NET Framework 2.0.50727 I create a website using File>New>Web Site>ASP.NET. I put a ListBox, DropDownList, CheckBoxList and RadioButtonList on...
4
by: sck10 | last post by:
Hello, I am converting some code from VB to C# and ran into a conversion error: Cannot implicitly convert type 'object' to 'System.Web.UI.WebControls.RadioButtonList'. An explicit conversion...
5
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hallo, I have a radiobuttonlist control that is added on a custom Web User Control. This control has a property that exposes the SelectedIndex property of the embedded radiobuttonlist. When...
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?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
tracyyun
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...

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.