Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > NumericUpDown > Update viewmodel only on lost focus

Not answered Update viewmodel only on lost focus

Feed from this thread
  • THOMAS avatar

    Posted on Jul 29, 2011 (permalink)

    Dear Sir,

    I use RadNumericUpDown control in RadGridView / GridViewDataColumn / CellEditTemplateSelector

    <DataTemplate x:Key="DtNumberKuendigungsfrist" >

               <Controls2:RadNumericUpDown Value="{Binding Path=Kuendigungsfrist, Mode=TwoWay}"

                                            IsEditable="True" Minimum="0" Maximum="9999" SmallChange="1" LargeChange="4"

                                            ValueFormat="Numeric" NumberDecimalDigits="0"/>

    </DataTemplate>

    Every time I press the small arrows up or down, the value in my viewmodel is changed immediately. How can I change the behavior of this control, to update the viewmodel only, when the focus in RadNumericUpDown is lost?

    Best Regards

    Reply

  • Yana Yana admin's avatar

    Posted on Aug 1, 2011 (permalink)

    Hello Thomas,

    I'm afraid that this behavior of RadNumericUpDown cannot be modified - the ViewModel is updated as soon as the value is changed.

    All the best,
    Yana
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > NumericUpDown > Update viewmodel only on lost focus
Related resources for "Update viewmodel only on lost focus"

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