css - ASP.Net label text as HTML not working -
we have formdata, of type xml holds value of asp:label , label in usercontrol .
now load form data label text html as:
<uctestcontrol.lbltestlabel><b>test value</b></uctestcontrol.lbltestlabel>
so passing value html in case bold.
but when retrieve value label "lbltestlabel" formdata binds text html tags <b>test value</b>
. need displayed bold text.
workaround: if go developer tool in browser f12 , navigate see html tags, when right click label element , select edit html renders bold text.
Comments
Post a Comment