Last Updated: 20 Feb 2017 07:16 by Scott Waye
Created on: 04 Apr 2016 12:48
Category: MaskedInput
Type: Bug Report
MaskedInput: Value property is not correctly updated when Mask=""(no-mask) and UpdateValueEvent is set to LostFocus
You have the following scenario:

The UpdateValueEvent property is set to "LostFocus". You have bound the Value property of the control to a property from your ViewModel. 

When this property is changed programmatically from negative to positive several times, the Value property of the control isn't updated correctly.

It stays negative when it must stay positive.

Workaround (if applicable):
You can change the UpdateValueEvent property to "PropertyChanged" 

Other Possible workaround (if the bound property is named "Sum")

private void radMaskedNumericInputSum_ValueChanging_1(object sender, Telerik.Windows.Controls.MaskedInput.RadMaskedInputValueChangingEventArgs e)
    if (this.Sum != (double)e.NewValue)
        e.Handled = true;
1 comment
Scott Waye
Posted on: 02 Jun 2016 16:19
This is annoying that Telerik are not taking this more seriously.  Problem seems to be in CoerceValueOverride where the IsNegativeValue is incorrect.