It works fine for the TextBox, but not for the RadMaskedTextInput. I'd resort to sending a tab key press, but SendKeys isn't available in WPF and I don't want to PInvoking.
Any suggestions to get this working?
7 Answers, 1 is accepted
You have hit a known issue in our MaskedInput control. It will be fixed in the next week's internal build well as in the Service Pack coming in a few weeks. Please excuse us for the inconvenience caused.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
However the Bug is still present(
Is there the possibility to solve this problem?
This bug is marked as resolved and the foolowing scenarios work on our side:
- setting FocusedElement in XAML:
- invoking Focus() on MaskedInput control in code behind.
Could you please let us know your exact scenario, what is the unexpected behavior and which version of our product you use ? Thank you in advance for your cooperation.
Version of product is 2015.1.225.40
The scenario is following:
Where is this template used - is it in GridView , or other control Templates ? Can you please replace the MaskedInput with TextBox and check whether the focus is successfully placed inside the TextBox ?
Thank you in advance for your cooperation.
This problem still seems to exist. Version 2016.3.1024.
Setting focus in code
This sets the focus to the control but not the editor, it requires the user to press Enter in order to change the content. If this is by design, how can I cause the Focus() method to send the user directly to the editable control?
KeyboardNavigation.IsTabStop should be synced with IsTabStop and they both need to be False. This way the focus will move tot he Editor TextBox successfully:
Telerik by Progress