Hello,
I have a radio button list control.
<form id="Form1" method="post" runat="server">
<asp:RadioButtonList ID="list1" Runat="server">
<asp:ListItem Value="A"></asp:ListItem>
<asp:ListItem Value="B"></asp:ListItem>
<asp:ListItem Value="C"></asp:ListItem>
</asp:RadioButtonList>
</form>
Instead of having text values for each item, I want to
have an image. If I delete the Values in each radio
button, put an image next to each button and then
submit the page, the selected index always defaults to
the first radio button.
How can you have a radio button list control with no
text values but images?
Thank you,
Burak
I have a radio button list control.
<form id="Form1" method="post" runat="server">
<asp:RadioButtonList ID="list1" Runat="server">
<asp:ListItem Value="A"></asp:ListItem>
<asp:ListItem Value="B"></asp:ListItem>
<asp:ListItem Value="C"></asp:ListItem>
</asp:RadioButtonList>
</form>
Instead of having text values for each item, I want to
have an image. If I delete the Values in each radio
button, put an image next to each button and then
submit the page, the selected index always defaults to
the first radio button.
How can you have a radio button list control with no
text values but images?
Thank you,
Burak