---
title: "RadioButtonList Control in ASP.Net"  
description: "The RadioButtonList control is used to create a group of radio buttons.  RadioButtonList are used when we need to make multiple sets of choices availa"  
author: "Pushpendra Singh"  
published: 2010-10-14  
updated: 2020-03-04  
canonical: https://www.mindstick.com/articles/167/radiobuttonlist-control-in-asp-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# RadioButtonList Control in ASP.Net

The RadioButtonList control is used to create a group of radio buttons.\

RadioButtonList are used when we need to make multiple sets of choices available, but we want the user to select only one of them. If they click on a second selection after making a first, the first selection is removed.

RadioButtonList also supports data binding.

```
<asp:RadioButtonList ID="RadioButtonList1" runat="server"> <asp:ListItem>c#</asp:ListItem> <asp:ListItem>j#</asp:ListItem> <asp:ListItem>vb</asp:ListItem> <asp:ListItem>c++</asp:ListItem> <asp:ListItem>c</asp:ListItem></asp:RadioButtonList>
```

![RadioButtonList Control in ASP.Net](https://www.mindstick.com/mindstickarticle/ba2249fb-7735-44d4-9736-5a84b5570360/images/5610dc8c-57f6-4acf-828d-0b8695ffb6c3.png)

**RadioButtonList event**

The default event of the RadioButtonList is the SelectedIndexChanged

```
<asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True"         Font-Bold="True" Font-Italic="True" Font-Names="Arial" ForeColor="Red"        onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">       <asp:ListItem>c#</asp:ListItem>       <asp:ListItem>j#</asp:ListItem>       <asp:ListItem>vb</asp:ListItem>       <asp:ListItem>c++</asp:ListItem>       <asp:ListItem>c</asp:ListItem></asp:RadioButtonList>protected void RadioButtonList1_SelectedIndexChanged (object sender,  EventArgs e)    {         Label1.Text = RadioButtonList1.SelectedItem.Text;    }
```

![RadioButtonList Control in ASP.Net](https://www.mindstick.com/mindstickarticle/ba2249fb-7735-44d4-9736-5a84b5570360/images/ea2ccec9-05a9-47ec-8509-78b735953037.png)

When you select any option then SelectedIndexChanged event will fire and it will show the selected value in Label.

## We can change RadioButton appearance

```
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Font-Bold="True"          Font-Italic="True" Font-Names="Arial" ForeColor="Red"          onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">         <asp:ListItem>c#</asp:ListItem>         <asp:ListItem>j#</asp:ListItem>         <asp:ListItem>vb</asp:ListItem>         <asp:ListItem>c++</asp:ListItem>         <asp:ListItem>c</asp:ListItem></asp:RadioButtonList>
```

![RadioButtonList Control in ASP.Net](https://www.mindstick.com/mindstickarticle/ba2249fb-7735-44d4-9736-5a84b5570360/images/9d3dd60b-e442-49f5-a669-ecdfa98b8f80.png)

---

Original Source: https://www.mindstick.com/articles/167/radiobuttonlist-control-in-asp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
