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

Problem with Right to Left Currency

3 Answers 17 Views
Input
This is a migrated thread and some comments may be shown as answers.
Pouya ir
Top achievements
Rank 1
Pouya ir asked on 25 May 2010, 07:45 PM
hi

in right to left language Currency should show in left   bu in rad input show in right


Note:
ریال mean as $

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 May 2010, 02:33 PM
Hi Pouya ir,

The observed behavior is normal, because in RTL mode all text content is right aligned by default. You can test with an asp:TextBox to see the same.

Please use the following property:

<telerik:RadNumericTextBox  EnabledStyle-HorizontalAlign="Left"  />


or add this CSS rule to your page:

.riTextBox
{
    text-align:left;
}


Best wishes,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Pouya ir
Top achievements
Rank 1
answered on 27 May 2010, 10:57 AM
tnx, this solution  did not solve my problem.

i want my Textbox Text Aligh = Right to left
but show the currency in the left of numbet.

 
i attach a picture` that show perfect status ...

0
Dimo
Telerik team
answered on 27 May 2010, 04:20 PM
Hello Pouya ir,

Try setting appropriate formatting patterns:

<telerik:RadNumericTextBox>
    <NumberFormat PositivePattern="" NegativePattern="" />
 </telerik:RadNumericTextBox>

http://www.telerik.com/help/aspnet-ajax/input_radnumerictextboxformatting.html

http://demos.telerik.com/aspnet-ajax/input/examples/radnumerictextbox/firstlook/defaultcs.aspx

Sincerely yours,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Input
Asked by
Pouya ir
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Pouya ir
Top achievements
Rank 1
Share this question
or