Breaking News
yeni film izle hd film seyret film izle

RadioButton Server Control  

RadioButton Server Control

The RadioButton server control is similar to the CheckBox server control.Radio buttons are generally used in form elements that require at least two options.

Code for RadioButton Server Control:

<asp:RadioButton ID=”RadioButton1″ runat=”server” Text=”Yes” GroupName=”Set1″ />
<asp:RadioButton ID=”RadioButton2″ runat=”server” Text=”No” GroupName=”Set1″/>

GroupName is a Property which can be set in one of the RadioButton controls to match what it is set to in the other. This allows the radio buttons on the web form to work together for the user.

Example: A simple use of RadioButton Server Control

Check Also

BulletList Server Control

BulletList Server Control The BulletedList server control is used to display a bulleted list of items in …