Currency format in RadNumericTextbox

2 posts, 0 answers
  1. Amit
    Amit avatar
    1 posts
    Member since:
    Jul 2012

    Posted 11 Jul 2014 Link to this post

    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
  2. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 15 Jul 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top