<UserControl x:Class="SilverlightApplication1.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:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" 
    xmlns:my="clr-namespace:SilverlightApplication1.Web" 
    xmlns:scrolling="clr-namespace:Telerik.Windows.Controls.GridView.Scrolling"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" Margin="300">

    <Grid x:Name="LayoutRoot" Background="White">
        <riaControls:DomainDataSource x:Name="DomainDataSource1" QueryName="GetOrdersAndOrderDetails">
            <riaControls:DomainDataSource.DomainContext>
                <my:NorthwindDomainContext />
            </riaControls:DomainDataSource.DomainContext>
        </riaControls:DomainDataSource>
        <telerik:RadGridView scrolling:CustomScrolling.IsEnabled="True" ShowGroupPanel="False" telerik:StyleManager.Theme="Windows7" 
                                     ItemsSource="{Binding Data, ElementName=DomainDataSource1}" 
                             IsBusy="{Binding IsBusy, ElementName=DomainDataSource1}"/>
     </Grid>
</UserControl>
