This question is locked. New answers and comments are not allowed.
I have a tab control defined as:
I have a button that creates a new item in Items. The CurrentItem is set correctly and the tab automatically changes to the new item.
However, there is a specific textbox in the ContentTemplate that I want the focus to be defaulted to when the new item is created.
I am using CSLA and am looking for an MVVM way to do this. Any advice?
<telerik:RadTabControl x:Name="MyTab" ItemsSource="{Binding Source={StaticResource APBViewModelViewSource}, Path=Model.Items}" SelectedItem="{Binding CurrentItem, Mode=TwoWay}"DisplayMemberPath="TabDisplayMemberPath" ContentTemplate="{StaticResource ContentTemplate}" Margin="10,10,0,0" />I have a button that creates a new item in Items. The CurrentItem is set correctly and the tab automatically changes to the new item.
However, there is a specific textbox in the ContentTemplate that I want the focus to be defaulted to when the new item is created.
I am using CSLA and am looking for an MVVM way to do this. Any advice?
