<UserControl x:Class="SilverlightApplication45.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >

    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadGridView IsReadOnly="True" ItemsSource="{Binding Data}" AutoGenerateColumns="False" x:Name="testGrid">
            <telerik:RadGridView.RowDetailsTemplate>
                <DataTemplate>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="80"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="90"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Row="2" Grid.Column="0" VerticalAlignment="Top" Text="Field 1 :"/>
                        <TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Field1}" 
                             HorizontalAlignment="Left" VerticalAlignment="Center" Width="500" Height="70"/>
                    </Grid>
                </DataTemplate>
            </telerik:RadGridView.RowDetailsTemplate>
            <telerik:RadGridView.Columns>
                <telerik:GridViewToggleRowDetailsColumn />
                <telerik:GridViewDataColumn Header="Field1" Width="140" HeaderTextAlignment="Center" DataMemberBinding="{Binding Field1}" />
                <telerik:GridViewDataColumn Header="Field2" Width="140" HeaderTextAlignment="Center" DataMemberBinding="{Binding Field2}"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</UserControl>
