Net-informations.com
SiteMap  | About    

RadioButton Control



Radio button allows the user to choose only one of a predefined set of options. When a user clicks on a radio button, it becomes checked, and all other radio buttons with same group become unchecked. The buttons are grouped logically if they all share the same GroupName property.

radiobutoon-control

VB.Net

C#

Use a radio button when you want the user to choose only one option. When you want the user to choose all appropriate options, use a check box.

The following ASP.NET program gives three option button to select. When the user select any option button , the label control displays the which option button is selected.

Default.aspx




Click the following links to see full source code

C# Source Code
VB.NET Source Code
default.aspx.cs
default.aspx.vb





net-informations.com (C) 2019    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.