Telerik UI for ASP.NET AJAX
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX
This is a migrated thread and some comments may be shown as answers.
OnKeyPress Decimal format RadNumericTextBox
1 Answer
13 Views
Input
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 1
Grant
asked on
12 Aug 2014,
11:39 AM
Hi
Is it possible to format the RadNumericTextBox onkeypress with two decimal places?
This text box requires users to enter amounts.
Grant
Add a comment
Submit comment
Cancel
1 Answer
, 1 is accepted
Sort by
Score
Date
0
Shinu
Top achievements
Rank 1
answered on
13 Aug 2014,
03:53 AM
Hi Grant,
Please try the below JavaScript code snippet to achieve your scenario.
JavaScript:
function
decimalFormats(sender, args) {
sender._numberFormat.DecimalDigits = 3;
}
Thanks,
Shinu.
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
Input
Asked by
Grant
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or
Copy link