Negative numbers and RightToLeft

4 posts, 0 answers
  1. ShareDocs
    ShareDocs avatar
    76 posts
    Member since:
    Oct 2012

    Posted 11 Dec 2012 Link to this post

    Hello,

    When you assign negative number to the textbox control  and set the property RightToLeft to true,
    the minus sign appears in the right side instead of the left side as you can see at the attach image.
    How can I fix it?

    Thanks,
  2. Svett
    Admin
    Svett avatar
    728 posts

    Posted 15 Dec 2012 Link to this post

    Hi Lior,

    This behavior is intended and by design. RadTextBox behaves in right-to-left mode the same way as default TextBox in WinForms does. In this case I recommend disabling the right-to-left mode for the textbox.

    I hope this helps. If you need further assistance, do not hesitate to write me back.

    Regards, Svett
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. ShareDocs
    ShareDocs avatar
    76 posts
    Member since:
    Oct 2012

    Posted 15 Dec 2012 Link to this post

    Hello,

    Is there another way to solve this design problem?

    Thanks.
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 17 Dec 2012 Link to this post

    Hi Lior,

    Drilling down into the current case, it seems that you are using our RadTextBoxControl rather than RadTextBox. Currently, RadTextBoxControl does not support the desired behavior. You can use RadTextBox instead, which supports the desired requirement where in RightToLeft=Yes the minus sign is set on the left.

    I hope this helps. Let me know if you have additional questions.

    Kind regards,
    Nikolay
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Back to Top