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

Currency format in RadNumericTextbox

1 Answer 545 Views
Input
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 11 Jul 2014, 07:07 AM
Hi all, 
I am trying to change the number format(Inter related to group size) of RadNumericTextbox. 
Here is my Input:
Input : 1000000000.00
After loosing the focus textbox text becomes "1,000,000,000"

I want it to show like: "1,00,00,00,000.00" (Indian currency format)

I tried using javascript also. Its formatting properly and returning result as the same. But after setting the value to textbox it automatically changes to previous formar(ie. 1,000,000,000).

Any help will be appreciated.

Thanks
Amit Kumar

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 15 Jul 2014, 11:26 AM
Hello Amit,

In order to achieve the requested scenario you have to set a GroupSize to 2 in the NumberFormat property. Please check out the following code snippet.
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server">
    <NumberFormat GroupSizes="2" />
</telerik:RadNumericTextBox>

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Input
Asked by
Amit
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or