<Window x:Class="TicketID_285037_BindingToElementFromRowDetails.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="700" Width="600">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition></RowDefinition>
			<RowDefinition Height="Auto" MinHeight="19"></RowDefinition>
		</Grid.RowDefinitions>

		<telerik:RadGridView Grid.Row="0" 
							 Name="radGridView1" 
							 RowDetailsVisibilityMode="VisibleWhenSelected"
							 LoadingRowDetails="radGridView1_LoadingRowDetails">
			<telerik:RadGridView.RowDetailsTemplate>
				<DataTemplate>
					<StackPanel Orientation="Horizontal" Margin="10,10,10,10">
						<TextBlock Text="Detail from textBox1 is : " />
						<TextBlock Name="rowDetailsTextBlock" />
					</StackPanel>
				</DataTemplate>
			</telerik:RadGridView.RowDetailsTemplate>
		</telerik:RadGridView>

		<StackPanel Grid.Row="1" Orientation="Horizontal">
			<TextBox Width="100" Name="textBox1"></TextBox>
			<TextBox Width="100" Text="{Binding ElementName=textBox1, Path=Text}" Name="textBox2"></TextBox>
		</StackPanel>

	</Grid>
</Window>
