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

Negative numbers and RightToLeft

3 Answers 89 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
ShareDocs
Top achievements
Rank 1
ShareDocs asked on 12 Dec 2012, 05:57 AM
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,

3 Answers, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 15 Dec 2012, 08:06 AM
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.
0
ShareDocs
Top achievements
Rank 1
answered on 16 Dec 2012, 04:05 AM
Hello,

Is there another way to solve this design problem?

Thanks.
0
Nikolay
Telerik team
answered on 17 Dec 2012, 09:15 AM
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.
Tags
TextBox
Asked by
ShareDocs
Top achievements
Rank 1
Answers by
Svett
Telerik team
ShareDocs
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or