Superscript in Expression

2 posts, 0 answers
  1. Frank
    Frank avatar
    106 posts
    Member since:
    Mar 2012

    Posted 01 Jul 2016 Link to this post

    I have a table on a report and I need to be able to have a 1 as a superscript in the textbox.  I have tried a number of methods. I know I can use an htmTextbox and superscript works but the is when an expression is not used.

    =IIF(Parameters.InceptionMonths > 11, Format("{0:P2}",Fields.InceptionReturn) + " " + &#185 Format("{0:P2}",Fields.InceptionReturn))

    I get the error that it is a missing operand before "&" operator.  when I use <sup> I get the same basic error.  I cannot use chr(185).

  2. Katia
    Katia avatar
    760 posts

    Posted 05 Jul 2016 Link to this post

    Hello Frank,

    Test using HtmlDecode() built-in function that takes an HTML-encoded string and returns a decoded string, for example:
    = HtmlDecode("&#185;")
    More information regarding built-in functions can be found in this help article.

    You can also use HtmlTextBox item with embedded expressions - check HtmlTextBox(Embedded expressions) help article.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top