私は次のものを持っています -
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Vertical" RepeatLayout="Table" CssClass="RBL" TextAlign="Right">
<asp:ListItem Text= "Individual - This is for user" />
<asp:ListItem Text="Enterprise - This is for enterprises" />
</asp:RadioButtonList>
私がやりたいのは、個人と企業だけに下線を引くことです。
次のようなことを試しましたが、うまくいきませんでした:
<asp:ListItem Text= <span class="underline"> Individual </span>-....
私が得たように:
Error 71 The 'Text' property of 'asp:ListItem' does not allow child objects.