I want to display a tag <label>. But you want to set some of its properties while they are displayed for both, and for text value.
Actually, my real problem is that I want to link the label with a switch, and this is the code that I have:
<asp:RadioButton ID="Option4" GroupName="A" runat="server" />
<label for='<%=Option4.ClientID %>' id="lblOption4" runat="server">4</label>
But the problem with this code is that it does not work and does not display a value for , since it is equal to ie <% = Option4.ClientID%>.: - (
Is there any asp net server that will display the tag?
I don’t want to set the Text property for the switch due to some CSS limitations, so PLZ does not give answers, for example, why you do not set the Text property for the switch.
source
share