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

[Solved] Format

3 Answers 37 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rodrigo Hentz
Top achievements
Rank 1
Rodrigo Hentz asked on 26 Aug 2010, 07:59 PM
i have a problem with the format of the field. I want to put "," when a user press "."

it's possible?

to make a value of "1200,00" when I press    1  2  0  0  .  0  0     using the numeric block of keyboard.

thanks.

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 27 Aug 2010, 08:05 AM
Hello Rodrigo Hentz,

If you just need to change decimal separator from "." to ",", you can use DecimalSeparator():
<%= Html.Telerik().NumericTextBox()
        ...
        .DecimalSeparator(",")

Also NumericTextBox UI component could be globalized in order to honor the client culture.

Best wishes,
Georgi Krustev
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
Rodrigo Hentz
Top achievements
Rank 1
answered on 27 Aug 2010, 06:59 PM
Thanks, but I would not doubt that. I'm using globalization and what they need is for the decimal separator, the component accepts both the character "." and ",".

Thanks.
0
Georgi Krustev
Telerik team
answered on 29 Aug 2010, 08:53 AM
Hello Rodrigo Hentz,

Unfortunately this is not supported. By desing numerctextbox UI component accepts only one decimal separator at the time.

Greetings,
Georgi Krustev
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
NumericTextBox
Asked by
Rodrigo Hentz
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Rodrigo Hentz
Top achievements
Rank 1
Share this question
or