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

write rtl language at the context text

3 Answers 60 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
eliraz
Top achievements
Rank 1
eliraz asked on 01 Feb 2012, 10:35 AM
i'm trying to write  text in hebrew at the context of the desktop alert,
without any success.
the syntax that im writing is:
<html dir=rtl> "TEXT" </html>.
does the control support rtl?

3 Answers, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 03 Feb 2012, 05:20 PM
Hi eliraz,

Yes, the control does support RTL. You just need to set its RightToLeft property to Yes as it is shown in the attached screenshot. Please note that RTL is currently not supported when using HTML-like text formatting.

Please let us know if you experience any issues or if you have any additional questions.

Kind regards,
Ivan Todorov
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

0
Hadilionson
Top achievements
Rank 1
answered on 13 Feb 2013, 07:40 AM
Hi; in the RightToleft Cases (raddesktopalert); We Can't change Font; and the default font is not proper; when we use html to change font of contenttext the arrangement of righttoleft doesn't work, what do you suggest?
0
Ivan Todorov
Telerik team
answered on 15 Feb 2013, 02:13 PM
Hi Hadilionson,

As I mentioned in my previous post, our HTML-like rendering engine does not support Right-To-Left. If you only need to change the font of the caption text, then I would suggest setting the Font property directly. This way you will avoid using HTML.
this.radDesktopAlert1.Popup.AlertElement.CaptionElement.TextAndButtonsElement.Font = new Font("Segoe UI Light", 18, FontStyle.Regular);

Hope this helps. If you have any other questions, feel free to write back.

Greetings,
Ivan Todorov
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
DesktopAlert
Asked by
eliraz
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Hadilionson
Top achievements
Rank 1
Share this question
or