Problem with Negative Values on Masked Input

6 posts, 0 answers
  1. Monica
    Monica avatar
    4 posts
    Member since:
    Oct 2010

    Posted 11 May 2012 Link to this post

    I am trying to resolve an issue with weird behavior on a RadMaskedCurrencyInput control when entering negative values.  I believe you would experience similar issues with other masked input controls. I currently have this control:
    <telerik:RadMaskedCurrencyInput />
    If you run this and try to enter -500 for example, the textbox does not take in the negative.  You have to type the 500, then the "-" for the textbox to recognize the negative value. 

    I have also noticed that if you load the control with a default value, then the negative is recognized when you type it in.
    <telerik:RadMaskedCurrencyInput Value="51.64" />

    Basically, try this control without a default value and you will see some pretty funky behavior when trying to enter a negative number.

    Any feedback will be helpful.
    Thanks.
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 14 May 2012 Link to this post

    Hello Monica,

    Can you tell me which version of the RadControls you use in your project. Because with the latest official version, the minus sign is processed as soon as it's entered and the value is changed to negative even if its current value is 0 or null.

    I attached a sample solution demonstrating the behavior of the RadMaskedCurrencyInput with the Q1 SP1 2012 release. Can you please give it a try on your side and let me know if it works as expected on your side?

    Greetings,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Monica
    Monica avatar
    4 posts
    Member since:
    Oct 2010

    Posted 14 May 2012 Link to this post

  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 15 May 2012 Link to this post

    Hello Monica,

    We received an empty post from your account so I just wanted to make sure you didn't have any questions or issues we can assist you with. If you have and they somehow were deleted, can you please post them again? Thank you in advance.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Monica
    Monica avatar
    4 posts
    Member since:
    Oct 2010

    Posted 15 May 2012 Link to this post

    Tina,

    Thanks for your reply. We are using the 2011 SP1 version of Telerik. However, upgrading to 2012 SP1 has proved challenging since we were using the Scheduler control which has now been retired and replaced with ScheduleView. Any tips you can provide for a transition to the ScheduleView would be helpful.

    Monica
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 16 May 2012 Link to this post

    Hi Monica,

    We would suggest to check our Getting Started and Migration From Scheduler articles first.
    Also if you have any issues/questions during the migration process, we will be glad to help.

    Regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
UI for WPF is Visual Studio 2017 Ready