4 Answers, 1 is accepted
We reproduced this behavior at our side. We will do our best to fix it for one of our future releases. There is an easy workaround for it. If you get the TextBox part of the RadNumericUpDown and call MoveFocus to it this will work as expected.
We don't usually recommend using ChildrenOfType extension method, but at this case you can call it only once into the RadNumericUpDown's Loaded event and store the found TextBox into a variable. This way the workaround will not affect the performance of your application.
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
While i know this is about NumericUpDown, i am just wondering does the same bug also appear in RadMaskedNumericInput?
I am using telerik wpf 2017.1.117.40
Here is my attach property to listen to the Enter key down event. The MoveFocus() method is not working out for me.
I have also set AcceptsReturn to False.
The reason why the code snippet is not working for the RadMaskedInput is that there is a TextBox inside the ControlTemplate of the MaskedInputControls. To work this out you can try the approach in the following code snippet.
I am attaching sample project which demonstrates this approach.