I need to add some text between the list items, but I haven’t seen a way to do this. I’ve looked at adding space between the items, but I can’t figure out how to add text between the list items.
<asp:RadioButtonList ID="RadioButtonList1" runat="server" >
need to add text here
<asp:ListItem Value="10.00" Selected="True">this is item1</asp:ListItem>
need to add text here
<asp:ListItem Value="10.00">this is item2 </asp:ListItem>
need to add text here
<asp:ListItem Value="10.00"> this is item3 </asp:ListItem>
</asp:RadioButtonList>
You can use several
RadioButtoncontrols to achieve that, also group them if needed.RadioButtonListwill not allow you to insert text in between. Here is a quote from MSDN: