<UserControl xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"  x:Class="GridViewDemos.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:DesignWidth="640" d:DesignHeight="480" xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" 
    xmlns:my="clr-namespace:GridViewDemos.Web">
  <Grid x:Name="LayoutRoot">
        <telerik:RadGridView ItemsSource="{Binding ElementName=alphabetical_list_of_productDomainDataSource, Path=Data}" 
                     IsBusy="{Binding ElementName=alphabetical_list_of_productDomainDataSource, Path=IsLoadingData}"
                             SelectionMode="Extended" x:Name="gridView1">
            <telerik:RadGridView.Columns>
                <telerik:GridViewSelectColumn></telerik:GridViewSelectColumn>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
        <telerik:RadDataPager 
    Source="{Binding ElementName=alphabetical_list_of_productDomainDataSource, Path=Data}" PageSize="10" />
      <riaControls:DomainDataSource AutoLoad="True" d:DesignData="{d:DesignInstance my:Alphabetical_list_of_product, CreateList=true}" Height="0" LoadedData="alphabetical_list_of_productDomainDataSource_LoadedData" Name="alphabetical_list_of_productDomainDataSource" QueryName="GetAlphabetical_list_of_productsQuery" Width="0">
            <riaControls:DomainDataSource.DomainContext>
                <my:ProductsDataContext />
            </riaControls:DomainDataSource.DomainContext>
        </riaControls:DomainDataSource>
      <Button Content="change grid's source" Height="20" Width="150" Click="Button_Click" />
    </Grid>
</UserControl>
