2 question on RadMaskedInput

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 18 Feb 2014 Link to this post

    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?


  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 21 Feb 2014 Link to this post

    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.

    Petar Mladenov
  3. DevCraft banner
Back to Top