webforms - Show "" as Text in ASP.NET RadioButton -
Let me know "hello world" Like a radio button to display text (note that I want to display "& lt;" and "& gt;" characters which are not to be interpreted as HTML tag characters).
Tried something like this:
& amp; Asp: RadioButton ID = "RadioButton1" runat = "server" text = "& amp; lt; hello world & gt;" AutoPostBack = "True" / & gt; But it does not display any text on the browser, and presents some way to the client side:
& lt; Span class = "radiobutton" & gt; & Lt; Input id = "ctl00_mainCopy_wizard_RadioButton1" type = "radio" ... /> & Lt; Label = "ctl00_mainCopy_wizard_RadioButton1" & gt; & Lt; Hello World & gt; & Lt; / Label & gt; & Lt; / Span & gt; Labels for Any ideas?
Try avoiding double.
& amp; Amp; Lt; Hello World & amp; Gt;
Comments
Post a Comment