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?
Am I using the wrong tag? Has anyone come across this?
4 Answers, 1 is accepted
0
Accepted
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:
Regards,
Steve
the Telerik team
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
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 ¹ 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?