Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > NumericUpDown > Binding source is updated despite value being lower than specified 'Minimum'

Not answered Binding source is updated despite value being lower than specified 'Minimum'

Feed from this thread
  • Stefan avatar

    Posted on Jan 9, 2012 (permalink)

    In the current version (Q3 2011), when the user enters a value below the specified 'Minimum', the bound property is updated to this value.

    In Q2, the source was also updated first to the wrong value, but afterwards a second update occurred using the specified minimum value.

    The current behavior is just completely wrong, while the behavior in Q2 is also not really expected as I would expect of the control not to update the source to a value below the minimum in the first place, but directly to the minimum value.

    <Window x:Class="RadNumericUpDownProblem.MainWindow"
            xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
        <telerik:RadNumericUpDown Minimum="0"
                                  Value="{Binding NumericUpDownValue}"/>
    </Window>

    namespace RadNumericUpDownProblem
    {
        public partial class MainWindow
        {
            private int mNumericUpDownValue;
     
            public MainWindow()
            {
                InitializeComponent();
     
                DataContext = this;
            }
     
            public int NumericUpDownValue
            {
                get { return mNumericUpDownValue; }
                set { mNumericUpDownValue = value; }
            }
        }
    }

    Reply

  • Beister Software GmbH avatar

    Posted on Jan 9, 2012 (permalink)

    Hi,

    we are facing the same problem, but in our case it is related to Maximum-property (user enters a value bigger than the maximum). A solution or a fix would be really nice.

    Greetings, Carsten

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Jan 11, 2012 (permalink)

    Hi all,

    We are aware of this issue and it is already fixed. Please download the latest available internal build and try with it.

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

    Reply

  • Beister Software GmbH avatar

    Posted on Jan 11, 2012 (permalink)

    Hi,

    the problem seems to be solved with the 1309 build. Thank you.

    Greetings, Carsten

    Reply

  • Pascal avatar

    Posted on Jan 11, 2012 (permalink)

    With the current build (1309) it works as expected when you enter a number, but still not when you are at the minimum and use the down button.

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Jan 13, 2012 (permalink)

    Hi,

    We have logged this issue in PITS. You can view it here. You can track its status and see when it is going to  be fixed.
    Sorry for the caused inconvenience.

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

    Reply

  • Stefan avatar

    Posted on Jan 13, 2012 (permalink)

    Thanks

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > NumericUpDown > Binding source is updated despite value being lower than specified 'Minimum'
Related resources for "Binding source is updated despite value being lower than specified 'Minimum'"

WPF NumericUpDown Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]