Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
How can I format an UltraFormattedLinkLabel with an angle bracket in the text
posted

I want to be able to do something like this:

 

ultraFormattedLinkLabel.Value = "<b><ANameOfSomething></b>";

 

But instead of formatting "<ANameOfSomething>" as bold, it displays "<b><ANameOfSomething></b>" literally with no formatting.  Is there a way to get formatting to work in this situation or am I just SOL?

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    Do you mean that you want literal < and > signs in the text?

    To do that, you have to use escape codes for those characters so they are not interpreted as tags.

    "<b>&lt;ANameOfSomething&gt;</b>";

Children