write rtl language at the context text

4 posts, 0 answers
  1. eliraz
    eliraz avatar
    20 posts
    Member since:
    Nov 2010

    Posted 01 Feb 2012 Link to this post

    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?
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 03 Feb 2012 Link to this post

    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).

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Hadilionson
    Hadilionson avatar
    7 posts
    Member since:
    Dec 2011

    Posted 13 Feb 2013 Link to this post

    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?
  5. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 15 Feb 2013 Link to this post

    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.
Back to Top