Trying to get superscript text in RadRadioButton

1 Answer 301 Views
Buttons, RadioButton, CheckBox, etc Label TextBox TextBoxControl
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Toby asked on 10 Nov 2022, 01:46 PM | edited on 10 Nov 2022, 01:49 PM

Hi, 

 

I'm trying to create two radio buttons with superscript text on them usch as this

Is this possible ?

I have tried 1.0ms for the radio button text and-1 as a label, both with transparent backgrounds, but when I overlay them the radio button masks the -1 superscript label when it overlaps the radio button. I believe html in RadLabel does not support superscript / subscript either.

How do I acheive this effect?

Regards

Toby

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Nov 2022, 02:27 PM

Hello, Toby,

We already have a feature request for the sub/sup tags to the HTML like text formatting. You can track its progress, subscribe for status changes and add your comments on the following link - https://feedback.telerik.com/winforms/1428854-add-the-sub-sup-tags-to-the-html-like-text-formatting 

Currently, due to the specificity of the text rendering mechanism, I can't suggest you another approach than the Unicode characters.  

 this.radRadioButton1.Text = "1.0ms"+ "	⁻²";

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Buttons, RadioButton, CheckBox, etc Label TextBox TextBoxControl
Asked by
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or