We help IT Professionals succeed at work.

radnumeric textbox

1jaws
1jaws asked
on
I am using radnumerictextbox and I have this code below, as soon as I type and go on the other textbox even though I typed all 3333333333 like that it gives me shows me totally different results
70368744177664 like this...

what I am doing wrong here?

 <telerik:RadNumericTextBox   runat="server" EmptyMessage="Credit Card Number"
                            ID="txtCCNumber" Width="200px"  " MaxLength="16" Type="Number">
                        </telerik:RadNumericTextBox>
Comment
Watch Question

70368744177664 is 2^46.
RadNumericTextBox supports numbers from -70368744177664 to 70368744177664.
See http://www.telerik.com/help/aspnet/input/inputusingradnumerictextbox.html
Telerik RadNumericTextBox control does not support maximum/minimum value more/less than +/- 2^46

Author

Commented:
is that means for credit card numbers for ex 16 digits numeric, I cant use radnumerictextbox?
Consider using RadMaskedTextBox for card number input.
See example here: http://demos.telerik.com/aspnet-ajax/input/examples/radmaskedtextbox/firstlook/defaultcs.aspx

Author

Commented:
yeah I did that, but I thought I could use radnumeric textbox.. I cant believe it is not working

Author

Commented:
thanks for pointing that out