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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -