[Solved] Add subscript and superscript support in Label

1 Answer 21 Views
Label
Radek
Top achievements
Rank 2
Bronze
Iron
Iron
Radek asked on 03 Aug 2026, 12:48 PM

Hello,

is there a chance to add this functionality to the label?

Thanks for your reply.

Radek

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 03 Aug 2026, 03:53 PM | edited on 03 Aug 2026, 03:55 PM

Hello, Radek,

The simplest way to achieve subscript and superscript on RadLabel at this moment is to use Unicode super/subscript characters. For digits and common symbols, use the dedicated Unicode characters declared here: https://docs.google.com/document/d/1dyj0zQTA0PMMVzMDCrE2Z2vViz4STDgwIbJhqoXCvEo/edit?pli=1&tab=t.0 

For example:

// Superscript: X² 
radLabel1.Text = "X\u00B2";          // X²

// Subscript: H₂O
radLabel2.Text = "H\u2082O";         // H₂O

Here is the result:

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Modernizing a WinForms application? Use the AI-powered WinForms Converter to simplify migration to Telerik UI for WinForms.
Radek
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 04 Aug 2026, 06:14 AM

Hello,

thank you for your response. The digits work correctly, but I still need uppercase subscript letters A, B, C, and D.

This particular letter does not have a Unicode code.

Regards

Radek

 

Nadya | Tech Support Engineer
Telerik team
commented on 04 Aug 2026, 01:04 PM

Hello,

At this moment, it is not possible to show uppercase subscript letters in RadLabel. Currently, only RadRichTextEditor supports true subscript/superscript formatting through its API. The reliable approach is to style a read-only RadRichTextEditor so it looks like a label and use the following code snippet:

// Superscript:
this.radRichTextEditor1.Insert("X");
this.radRichTextEditor1.ToggleSuperscript();
this.radRichTextEditor1.Insert("A");
this.radRichTextEditor1.ToggleSuperscript();

I logged a feture request to introduce support for subscript/superscript in RadLabel, as you requested. You can vote for the item or add your comments to it here: RadLabel: Add subscript/superscript support

 

Radek
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 05 Aug 2026, 12:30 PM

Hello,

thank you. Now I will use radRichTextEditor, but support for subscript/superscript would be great.

Radek

Tags
Label
Asked by
Radek
Top achievements
Rank 2
Bronze
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or