<UserControl x:Class="RetrieveDataFromSilverlight.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"
    xmlns:my="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"
    mc:Ignorable="d"
    d:DesignHeight="824" d:DesignWidth="1344" >

    <Grid x:Name="LayoutRoot" Background="White" Height="1000">
        <my:ReportViewer Name="reportViewer1" 
                         Report="ReportLibrary.Report1, ReportLibrary, Version=5.1.11.928, 
                         Culture=neutral, PublicKeyToken=null"
                         ReportServiceUri="../ReportService.svc"
            HorizontalAlignment="Left"  VerticalAlignment="Top" Width="826" Height="800"/>
        
            <Button Content="Post data" Height="26" Name="buttonSend" Click="buttonSend_Click" Margin="832,194,186,780" />
        
        <TextBox Height="67" Name="textBox" Margin="832,121,186,813" />
        
        <TextBlock TextWrapping="Wrap" Text="Enter some text and hit the 'Post data' Button to see how this affects the report" Margin="832,72,186,861"></TextBlock>
        <TextBlock Margin="832,286,186,694" Text="Change the report's parameter value from here" TextWrapping="Wrap" />
        <TextBox Margin="832,312,310,662" Name="paramTextBox" />
        <Button Content="Refresh" Height="26" Margin="1045,312,186,662" Name="button1" Click="button1_Click" />
    </Grid>
</UserControl>
