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

How to check event ValueChanged if Up/Down Button is pressed on NumericUpDown Control

1 Answer 100 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
thuc timtri
Top achievements
Rank 1
thuc timtri asked on 11 Oct 2011, 05:03 AM
Hi all!
I need check user input data for control from User Interface. I usually IsFocused properties, but when user click on button Up/Down of control RadNumbericUpDown then IsFocused = false
How to check event ValueChanged if Up/Down Button is pressed on NumericUpDown Control ??
Thanks!

1 Answer, 1 is accepted

Sort by
0
kity
Top achievements
Rank 2
answered on 06 Feb 2014, 11:27 AM
The Value of RadNumericUpDown is updated on losing focus by default, so the ValueChanged event is triggered then as well. However there is a way to change when the Value is updated. Just set : UpdateValueEvent="PropertyChanged". This will update the Value on every keystroke.

Hope this helps.
Tags
NumericUpDown
Asked by
thuc timtri
Top achievements
Rank 1
Answers by
kity
Top achievements
Rank 2
Share this question
or