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

2 question on RadMaskedInput

1 Answer 42 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 18 Feb 2014, 12:29 PM
Hello,
I've just got 2 question on RadMaskedInput...
  1. I'm using a RadMaskedNumericInput inside a CellEdit with a CellTemplateSelector , if I click tab it's successfully update the value, if I press Enter nothing happens... how can I handle this? I need at the Enter key to save and exit the cell
  2. I've some fields that are Int? and Decimal? I need to have them null without the validation to appear...is there a way I can turn it off?

Thanks

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 21 Feb 2014, 10:54 AM
Hello Paolo,

Let me go straight to your questions.

1) You can try setting AcceptsReturn = False.

2) We need to know what kind of validation you use. What is the Validation Message that you receive ? Is it possible for you to modify the attached project in order to demonstrate your validation scenario ?
On a side note, we highly encourage you to use the RadMaskedCurrency input if you need to bind decimal / decimal?. CurrencyInput internally uses decimal? for its Value. RadMaskedNumericInput's works internally with double? and will not calculate / parse successfully decimals.

Thank you in advance for your cooperation.

Regards,
Petar Mladenov
Telerik
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Michele
Top achievements
Rank 2
Answers by
Petar Mladenov
Telerik team
Share this question
or