473,545 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
RadioButtonArra y. 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 13800
"Brett" <no@spam.net> wrote in
news:OG******** ******@TK2MSFTN GP10.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 RadioButtonArra y. 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******** **********@TK2M SFTNGP15.phx.gb l...
"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
7030
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 basically trying to do is to combine x radioButtonlists, so that the output will look like this:...
3
8973
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 RadioButtonlList's selected value, there is nothing. On a postback, with the dynamically created button list visible on the page and the first item...
5
5501
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 -- -- BoundColumn 1 -- -- BoundColumn 2 -- -- TemplateColumn 4 -- -- RadioButtonList --
6
7714
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 update the database. Here is the control containment hierarchy: ASP Page Static User Control // just provides a pretty border around
0
1951
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 selectedindexchanged? I have a datagrrid with an itemtemplate, inside this itemtemplate thre is a radiobuttonlist with 3 options. There is also a label to...
5
6975
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 RadioButtonList. An input to this procedure is the ID that is stored in the database. I want the radiobuttonlist to show the radiobutton with datavaluefield =...
2
4724
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 text string. My problem is that when i'm loading my form, it uses a repeater control for each user by the way, I can't find a way to assign either...
4
2413
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 the default page. Compile the page and surf to it using IE or Firefox (I get the same
4
4624
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 exists (are you missing a cast?) Any help with this would be appreciated...
5
2683
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 running this in IE, behaviour is as I would expect it. If I select an item and do a postback, the page remembers my selection when reloading, and the...
0
7473
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, 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...
0
7406
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...
0
7813
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7761
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 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...
1
5337
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3457
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...
0
3444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1020
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
709
bsmnconsultancy
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...

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.