Last post Jul 08, 2008 08:08 AM by pbb
Jul 07, 2008 06:22 AM|pbb|LINK
I have a paragraph of text in my resource file, but one of the words in that paragraph needs to be emphasized (bold). How can I do this?
Just putting <b> tags around the word in the resource file breaks the XML layout, and writing <b> makes the HTML tag visible in the control instead of rendering it as bold...
Do I really have to go as far as making three resource strings out of the paragraph; text-before-emphasis, emphasized-text, text-after-emphasis???
Jul 07, 2008 08:29 AM|DarrellNorton|LINK
Jul 08, 2008 08:08 AM|pbb|LINK
Stupid me, I was assigning the string using the .InnerText property! I should have used .InnerHtml, everything works fine now :)