OnKeyPress Decimal format RadNumericTextBox

2 posts, 0 answers
  1. Grant
    Grant avatar
    25 posts
    Member since:
    Feb 2014

    Posted 12 Aug 2014 Link to this post


    Is it possible to format the RadNumericTextBox onkeypress with two decimal places?

    This text box requires users to enter amounts.


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Aug 2014 in reply to Grant Link to this post

    Hi Grant,

    Please try the below JavaScript code snippet to achieve your scenario.

    function decimalFormats(sender, args) {
        sender._numberFormat.DecimalDigits = 3;

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