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

Problem with Negative Values on Masked Input

5 Answers 131 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Monica
Top achievements
Rank 1
Monica asked on 12 May 2012, 01:54 AM
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.

5 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 14 May 2012, 07:24 AM
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 >>

0
Monica
Top achievements
Rank 1
answered on 15 May 2012, 12:38 AM
0
Tina Stancheva
Telerik team
answered on 15 May 2012, 12:45 PM
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 >>

0
Monica
Top achievements
Rank 1
answered on 15 May 2012, 06:43 PM
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
0
Yana
Telerik team
answered on 16 May 2012, 07:45 AM
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 >>

Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Monica
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Monica
Top achievements
Rank 1
Yana
Telerik team
Share this question
or