Please assist.
<
brite:BritePage xmlns:bhhcbrite="clr-namespace:BriteClient.Views"
x:Class="BriteClient.Views.Tracking.AuditTracking"
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"
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:vm="clr-namespace:BriteClient.ViewModels"
xmlns:s="clr-namespace:BriteClient.Web.Services"
xmlns:c="clr-namespace:BriteClient.Controls"
xmlns:con="clr-namespace:BriteClient.Helpers.Converters"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
d:DesignWidth="640" d:DesignHeight="480"
Title="AuditAssignment Page"
Style="{StaticResource PageStyle}">
<brite:BHHCBritePage.Resources>
<vm:AuditTrackingViewModel x:Key="AuditTrackingViewMode" d:IsDataSouce="True" />
</brite:BritePage.Resources>
<brite:BritePage.DataContext>
<Binding Source="{StaticResource AuditTrackingViewMode}" />
</brite:BHHCBritePage.DataContext>
<Grid x:Name="LayoutRoot">
<ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">
<StackPanel x:Name="ContentStackPanel" Style="{StaticResource ContentStackPanelStyle}">
<Border x:Name="borderBlue" BorderBrush="Black">
<Grid>
<Grid.Resources>
<con:InverseBooleanConverter x:Key="InverseBooleanConverter"/>
<!--EditorTemplate for the Name property.-->
<DataTemplate x:Key="NameFilterEditorTemplate">
<telerik:RadComboBox SelectedValue="{Binding Value, Mode=TwoWay, FallbackValue=null}"
MinWidth="100"/>
</DataTemplate>
<!--EditorTemplate for the Quantity property.-->
<DataTemplate x:Key="SliderFilterEditorTemplate">
<telerik:RadSlider Value="{Binding Value, Mode=TwoWay, FallbackValue=0}"
Width="100"
TickPlacement="BottomRight"/>
</DataTemplate>
<!--EditorTemplate for the Discontinued property.-->
<DataTemplate x:Key="DiscontinuedEditorTemplate">
<StackPanel Orientation="Horizontal">
<telerik:RadToggleButton IsChecked="{Binding Value, Mode=TwoWay, FallbackValue=False}"
Content="Yes"
VerticalAlignment="Center"
Margin="2,1"
/>
<telerik:RadToggleButton IsChecked="{Binding Value, Mode=TwoWay, FallbackValue=False, Converter={StaticResource InverseBooleanConverter}}"
Content="No"
VerticalAlignment="Center"
Margin="2,1"
/>
</StackPanel>
</DataTemplate>
<c:CustomRedEditorTemplateSelector x:Key="redEditorTemplateSelector">
<c:CustomRedEditorTemplateSelector.EditorTemplateRulesProp>
<c:EditorTemplateRule PropertyName="Name"
DataTemplate="{StaticResource NameFilterEditorTemplate}"/>
<c:EditorTemplateRule PropertyName="ClassCodesCount"
DataTemplate="{StaticResource SliderFilterEditorTemplate}"/>
<c:EditorTemplateRule PropertyName="Discontinued"
DataTemplate="{StaticResource DiscontinuedEditorTemplate}"/>
</c:CustomRedEditorTemplateSelector.EditorTemplateRulesProp>
</c:CustomRedEditorTemplateSelector>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="200"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBlock x:Name="HeaderText" Grid.Column="0" Grid.ColumnSpan="4" Style="{StaticResource HeaderTextStyle}"
Text="{Binding Path=Strings.AuditAssignment, Source={StaticResource ApplicationResources}}"/>
<Border Grid.Row="1" Grid.ColumnSpan="4" CornerRadius="20" x:Name="brdTest" BorderBrush="Black" BorderThickness="2">
<StackPanel x:Name="stkFilterPanel" Background="Transparent" Orientation="Horizontal">
<!--Filter-->
<telerik:RadDataFilter Name="radDataFilter"
MinHeight="193" MaxHeight="250" MinWidth="600" Width="640"
EditorTemplateSelector="{StaticResource redEditorTemplateSelector}"
Margin="1">
</telerik:RadDataFilter>
<!--Source="{Binding Items, ElementName=radGridView}"-->
<StackPanel x:Name="stkColumnPanel" Background="Transparent" Orientation="Vertical" Margin="2">
<TextBlock Text="Select desired grid columns:" FontWeight="Bold"></TextBlock>
<ListBox ItemsSource="{Binding Columns, ElementName=radGridView}" Width="200" MinHeight="193" MaxHeight="250" BorderThickness="0">
<ListBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding Header}" IsChecked="{Binding IsVisible, Mode=TwoWay}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
</StackPanel>
</Border>
<StackPanel x:Name="stkSaveLoadPanel" Grid.Row="1" Grid.Column="4" Background="Transparent" Orientation="Horizontal">
<StackPanel x:Name="stkSavedFilterPanel" Background="Transparent" Orientation="Vertical" Margin="2">
<TextBlock Text="Saved filters:" FontWeight="Bold"></TextBlock>
<ListBox ItemsSource="{Binding Columns, ElementName=radGridView}" Width="100" MinHeight="193" MaxHeight="250" Margin="5">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="Filter 1"></TextBlock>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
<StackPanel x:Name="stkButtonsPanel" Background="Transparent" Orientation="Vertical" Margin="5">
<Button x:Name="btnLoadFilter" Width="70" Height="30" Content="Apply Filter" Command="{Binding Path=ApplyFilterCommand}" Margin="5"></Button>
<Button x:Name="btnSaveFilter" Width="70" Height="30" Content="Save Filter" Command="{Binding Path=SaveCommand}" Margin="5"></Button>
</StackPanel>
</StackPanel>
 
<Border Grid.Row="2" Grid.ColumnSpan="5" CornerRadius="20" x:Name="brdGrid" BorderBrush="Black" BorderThickness="2">
<StackPanel x:Name="stkGridPanel" Background="Transparent" Orientation="Vertical" Margin="5">
<telerik:RadDomainDataSource x:Name="domainDataSource1" AutoLoad="True"
QueryName="GetAuditAssignments"
PageSize="15">
<telerik:RadDomainDataSource.DomainContext>
<s:BriteDomainContext />
</telerik:RadDomainDataSource.DomainContext>
</telerik:RadDomainDataSource>
<!--Red Grid-->
<telerik:RadGridView MinHeight="193" MaxHeight="250" x:Name="radGridView" AutoGenerateColumns="False" ItemsSource="{Binding DataView, ElementName=domainDataSource1}"
IsBusy="{Binding IsBusy, ElementName=domainDataSource1}" CanUserFreezeColumns="True" SelectionMode="Multiple">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding CustomerID}"
Header="Policy Number" UniqueName="Policy Number" IsGroupable="True"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding AssignmentStartDate}"
Header="Assignment StartDate" DataFormatString="{}{0:d}" UniqueName="AssignmentStartDate" IsGroupable="False" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding AssignmentEndDate}"
Header="Assignment EndDate" UniqueName="AssignmentEndDate" IsGroupable="False" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding ClassCodesCount}"
Header="Class Codes Count" UniqueName="ClassCodesCount" IsGroupable="False" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding MaxExMod}"
Header="Max ExMod" UniqueName="MaxExMod" IsGroupable="False" IsFilterable="False" IsVisible="False" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
<telerik:RadDataPager Grid.Row="3" Grid.ColumnSpan="5"
x:Name="radDataPager1"
PageSize="12"
Source="{Binding Items, ElementName=radGridView}"
DisplayMode="All"
AutoEllipsisMode="Both"
NumericButtonCount="10"
IsTotalItemCountFixed="True"/>
<TextBox x:Name="debugTextBox" IsEnabled="True" Visibility="Collapsed"/>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0" x:Name="stkAuditTypePanel" Background="Transparent" Orientation="Vertical" Margin="5">
<TextBox x:Name="txtAuditType" IsEnabled="True" Text="Audit Type"/>
<ComboBox x:Name="cbAuditType"/>
</StackPanel>
<StackPanel Grid.Column="1" x:Name="stkAuditPeriodPanel" Background="Transparent" Orientation="Vertical" Margin="5">
<TextBox x:Name="txtAuditPeriod" IsEnabled="True" Text="Audit Period"/>
<ComboBox x:Name="cbAuditPeriod"/>
</StackPanel>
<StackPanel Grid.Column="2" x:Name="stkAuditorPanel" Background="Transparent" Orientation="Vertical" Margin="5">
<TextBox x:Name="txtAuditor" IsEnabled="True" Text="Auditor"/>
<ComboBox x:Name="cbAuditor"/>
</StackPanel>
<StackPanel Grid.Column="3" x:Name="stkApplyToSelectedPanel" Background="Transparent" Orientation="Vertical" Margin="5">
<Button x:Name="btnToSelected" Width="70" Height="30" Content="Apply" Command="{Binding Path=ApplyFilterCommand}" Margin="5"></Button>
<!--<Button x:Name="btnSaveFilter" Width="70" Height="30" Content="Save Filter" Command="{Binding Path=SaveCommand}" Margin="5"></Button>-->
</StackPanel>
</Grid>
</StackPanel>
</Border>
</Grid>
</Border>
</StackPanel>
</ScrollViewer>
</Grid>
</
brite:BritePage>