This question is locked. New answers and comments are not allowed.
Good Morning Telerik Team,
I'm having trouble setting the focus to a RadMaskesTextInput control. I have found various suggestions, but none have seemed to work for me. I currently have the latest relase 2014 Q1.
I'm subscribing to events on the view for GotFocus and Loaded. Both of these events fire and call my code to set the focus.
I have tried the follow:
1. control.Focus();
2. control.SetValue(RadMaskedTextInput.IsFocusedProperty, true);
3. control.Focus();
control.SetValue(RadMaskedTextInput.IsFocusedProperty, true);
4. control.SetValue(RadMaskedTextInput.IsFocusedProperty, true);
control.Focus();
None of these work; However, in the same method if I can call PasswordControl.Focus() or ButtonControl.Focus() and they both work. So, it seems to be a problem with the RadMaskedTextInput control.
Thanks for your help!
I'm having trouble setting the focus to a RadMaskesTextInput control. I have found various suggestions, but none have seemed to work for me. I currently have the latest relase 2014 Q1.
I'm subscribing to events on the view for GotFocus and Loaded. Both of these events fire and call my code to set the focus.
I have tried the follow:
1. control.Focus();
2. control.SetValue(RadMaskedTextInput.IsFocusedProperty, true);
3. control.Focus();
control.SetValue(RadMaskedTextInput.IsFocusedProperty, true);
4. control.SetValue(RadMaskedTextInput.IsFocusedProperty, true);
control.Focus();
None of these work; However, in the same method if I can call PasswordControl.Focus() or ButtonControl.Focus() and they both work. So, it seems to be a problem with the RadMaskedTextInput control.
Thanks for your help!