This is a migrated thread and some comments may be shown as answers.

Superscript HtmlTextBox

4 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kris
Top achievements
Rank 1
Kris asked on 18 Sep 2012, 04:00 PM
I am trying to put a superscript in a HTMLTextBox in my report using <sup></sup> tags, but am having no success. It looks like it is just ignoring <sub> and <sup> tags...I plug in <b> tags and it works correctly by bolding my text. 

Am I using the wrong tag? Has anyone come across this?

4 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 19 Sep 2012, 12:08 PM
Hi Kris,

Thank you for contacting us. For the time being the HtmlTextBox offers text formatting options only. If you need <sub>2</sub> or <sup>2</sup>, as a workaround you can pick up a font that supports sub/sup script two characters. For more info see:

Another possible (not perfect) workaround until then that I could suggest involves HtmlTextBox and specifying different font size for the sub/sup text. Here is an example:

Regular<FONTsize="1">minimized</FONT> Text

Regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Kris
Top achievements
Rank 1
answered on 21 Sep 2012, 09:34 PM
Thanks, this does help, I just typed in &#185; directly into the Value property and all works well. Thanks
0
Jennifer
Top achievements
Rank 1
answered on 15 Jul 2013, 05:08 PM
Khris,
  
How did you do this?  I tried and the HTML box displays the characters rather than the superscript.
0
James
Top achievements
Rank 1
answered on 16 Jul 2013, 03:14 PM
Have you tried to enter this in HTML View?
Tags
General Discussions
Asked by
Kris
Top achievements
Rank 1
Answers by
Steve
Telerik team
Kris
Top achievements
Rank 1
Jennifer
Top achievements
Rank 1
James
Top achievements
Rank 1
Share this question
or