A
anony
Hi,
I'm trying to apply a style class to listitems, without success. I've tried
wrapping the RadioButtonList and ListItems around a div or span without
success. The CssClass attribute for the RadioButtonList does nothing.
Applying the class to my <td> doesn't work either. What am I doing wrong?
Thanks.
<td width="62%">
<asp:RadioButtonList ID="radlRetrieve" runat="server"
TextAlign="right" AutoPostBack="true" CssClass="main"
OnSelectedIndexChanged="radlRetrieve_Changed" >
<asp:ListItem Value="0" Text="Username" ></asp:ListItem>
<asp:ListItem Value="1" Text="Password"></asp:ListItem>
</asp:RadioButtonList>
</td>
I'm trying to apply a style class to listitems, without success. I've tried
wrapping the RadioButtonList and ListItems around a div or span without
success. The CssClass attribute for the RadioButtonList does nothing.
Applying the class to my <td> doesn't work either. What am I doing wrong?
Thanks.
<td width="62%">
<asp:RadioButtonList ID="radlRetrieve" runat="server"
TextAlign="right" AutoPostBack="true" CssClass="main"
OnSelectedIndexChanged="radlRetrieve_Changed" >
<asp:ListItem Value="0" Text="Username" ></asp:ListItem>
<asp:ListItem Value="1" Text="Password"></asp:ListItem>
</asp:RadioButtonList>
</td>