Unplanned
Last Updated: 23 Jan 2026 10:31 by ADMIN
Scott
Created on: 23 Jan 2026 10:13
Category: SpinEditor
Type: Bug Report
0
SpinEditor: When NullableValue property is bound, NullableValueChanged event is triggered even when the same value is applied
In this particular case, we have 3 RadSpinEditor controls. Each control NullableValue property is bound to a custom property. We have subscribed to the NullableValueChanged on each control. Changing the value of one RadSpinEditor control will trigger the NullableValueChanged on each one.
1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 23 Jan 2026 10:31

Hello Scott,

Thank you for reporting this.

Here is a possible workaround. Replace the default RadSpinEditor with the custom class below. The new NullableValue2 property can be used for the binding.

public class My_SpinEditor : RadSpinEditor
{
    [DefaultValueAttribute(typeof(System.Decimal?), "0")]
    [Category("Data")]
    [Bindable(true)]
    public decimal? NullableValue2
    {
        get
        {
            return this.SpinElement.NullableValue;
        }
        set
        {
            if (this.SpinElement.NullableValue != value)
            {
                this.SpinElement.NullableValue = value;
                this.OnNotifyPropertyChanged("NullableValue2");
            }
        }
    }
    public override string ThemeClassName
    {
        get
        {
            return typeof(RadSpinEditor).FullName;
        }
    }
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.