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

RadMaskedNumericUInput cannot gain Focus in RadWindow

1 Answer 35 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Masoud
Top achievements
Rank 1
Masoud asked on 07 Feb 2012, 02:46 PM
Hi there,

I have an RadMaskedNumericInput placed within an RadWindow.  I would like for the RadMaskedNumericInput to gain focus when the RadWindow is loaded.  In the Loaded event I am setting the focus to the RadMaskedNumericInput.  This doesn't work out.  I tried a simple control.SetFocus(), or Dispatcher.BeginInvoke(() => BaumNummer.Focus());  I set the focus to the RadWindow, but still no luck. 

Thank you for your help on this issue.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 10 Feb 2012, 10:37 AM
Hi Klaus,

 I managed to achieve your goal. Please check out my test project and let me know if it fits in your scenario.

Kind regards,
Petar Mladenov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Masoud
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or