<UserControl x:Class="ComboBoxDemo.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:domain="clr-namespace:ComboBoxDemo.Web"

    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" 
             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:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight">
    <Grid x:Name="LayoutRoot">
        <telerik:RadBusyIndicator Name="loadIndicator" IsBusy="{Binding IsBusy, ElementName=PART_DataSource}">
            <Grid x:Name="mainPanel">
                <telerik:RadComboBox 
                    SelectedValuePath="ID"
                    SelectedValue="{Binding Pohlavi_ID, Mode=TwoWay}"
                    IsEditable="True"
                    IsReadOnly="True"
            
                DisplayMemberPath="Nazev"
                HorizontalAlignment="Left" 
                Margin="124,25,0,0"
                Name="cbPohlavi" 
                VerticalAlignment="Top" 
                Width="353">

                </telerik:RadComboBox>
                <telerik:RadButton 
                    Content="neprihlasen" Height="Auto" HorizontalAlignment="Left" Margin="235,70,0,0" Name="radButton1" VerticalAlignment="Top" Width="124" Click="radButton1_Click" />
                <telerik:RadButton Content="Reload" Height="Auto" HorizontalAlignment="Left" Margin="235,118,0,0" Name="radButton2" VerticalAlignment="Top" Width="124" Click="radButton2_Click" />
                <!--
                <telerik:RadHtmlPlaceholder Height="253" 
                                            HorizontalAlignment="Left" 
                                            Margin="40,178,0,0" 
                                            Name="radHtmlPlaceholder1" 
                                            VerticalAlignment="Top"
                                            Width="557"
                                            SourceUrl="http://www.money.cz/download/Software/moneynews/MoneyNews_2_2010.pdf"/>
                -->
                
                <my:ReportViewer 
                    ReportServiceUri="../ReportingService.svc" Report="ComboBoxDemo.Web.OsobaReport, ComboBoxDemo.Web"
                    HorizontalAlignment="Left" 
                    Margin="6,109,0,0" 
                    Name="reportViewer1" 
                    VerticalAlignment="Top" Height="365" Width="619" />
               
            </Grid>                       
        </telerik:RadBusyIndicator>
    </Grid>
</UserControl>
