This question is locked. New answers and comments are not allowed.
I am creating an editable Employee directory using RadTileView. I have named several TextBoxes (x:Name) within RadFluidContentControl.LargeContent. My main problem is that I can't figure out how to access the values of the fields I named from MainPage.xaml.cs because they are embedded in Telerik controls....
Any help would be much appreciated. I don't think I can do the obvious workaround of a two-way binding because my ItemsSource is an ObservableCollection of Employee objects. I would rather not pass back to the database the complete set of Employee information; I would rather know which Employee information has been changed and pass that sole Employee's information to the database.
Thanks!
----
| <telerikNavigation:RadTileView x:Name="tileView1" Grid.Row="2" ItemsSource="{Binding Employees, Mode=TwoWay}"> |
| <telerikNavigation:RadTileView.ItemTemplate> |
| <DataTemplate> |
| <TextBlock Text="{Binding Name}" FontWeight="Bold"/> |
| </DataTemplate> |
| </telerikNavigation:RadTileView.ItemTemplate> |
| <telerikNavigation:RadTileView.ContentTemplate> |
| <DataTemplate> |
| <telerik:RadFluidContentControl ContentChangeMode="Manual" State="Normal"> |
| .... |
| <telerik:RadFluidContentControl.LargeContent> |
| ... |
| <StackPanel Orientation="Horizontal" Grid.Row="1"> |
| <TextBlock Text="Team: " FontWeight="Bold" Style="{StaticResource Label}"/> |
| <TextBox x:Name="department" Text="{Binding Department, Mode=TwoWay}" Style="{StaticResource TextInput}" /> |
| </StackPanel> |
| </telerik:RadFluidContentControl.LargeContent> |
| </telerik:RadFluidContentControl> |
| </DataTemplate> |
| </telerikNavigation:RadTileView.ContentTemplate> |
| </telerikNavigation:RadTileView> |