<Window x:Class="BindingToSelectedRecord_Wpf_2009_Q12.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Title="Window1" Height="400" Width="600">
    <StackPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="Select first" Click="SelectFirstButton_Click"/>
            <Button Content="Select second" Click="SelectThirdButton_Click"/>
        </StackPanel>
        <telerik:RadGridView 
            x:Name="RadGridView1" 
            Width="500" Height="400"
            ItemsSource="{Binding Path=ItemsSource}" SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}">
        </telerik:RadGridView>
    </StackPanel>
</Window>
