Hello,
I have a RadWindow with just a label and a textbox :
When I open the window I would have the focus in the textbox. So I add the FocusManager.FocusedElement attribute to the RadWindow but it doesn't work.
If I transform RadWindow to standard Window it works.
Is there another way to do this ?
Thanks in advance for your answer.
I have a RadWindow with just a label and a textbox :
<telerik:RadWindow x:Class="TestWpf.MainWindow" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
Header="Test" Width="400" Height="200" |
FocusManager.FocusedElement="{Binding ElementName=tbxUser}"> |
<Grid> |
<Label Content="User : " Height="28" Name="lblUser" /> |
<TextBox Height="23" Name="tbxUser" Width="120"/> |
</Grid> |
</telerik:RadWindow> |
When I open the window I would have the focus in the textbox. So I add the FocusManager.FocusedElement attribute to the RadWindow but it doesn't work.
If I transform RadWindow to standard Window it works.
Is there another way to do this ?
Thanks in advance for your answer.