I just upgraded a SL3 project to SL4 with Telerik tools for SL 4 RC. Now all my GridViewDataColumns are missing the filter icon. If I remove the Columns and set RadGridView.AutoGenerateColumns=true, voila, the filter icons are back. What's going on here?Thanks,
Dan Walton
<navigation:Page x:Class="Raps.Views.junk" |
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:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" |
xmlns:rapsdata="clr-namespace:Raps.Web.Services" |
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" |
d:DesignWidth="640" d:DesignHeight="480" |
Title="junk Page"> |
<Grid x:Name="LayoutRoot"> |
<!-- Data source for both grids --> |
<riaControls:DomainDataSource x:Name="myData" QueryName="GetDistributions" AutoLoad="True" LoadSize="100"> |
<riaControls:DomainDataSource.DomainContext> |
<rapsdata:RapsDomainContext /> |
</riaControls:DomainDataSource.DomainContext> |
</riaControls:DomainDataSource> |
<StackPanel Orientation="Vertical" > |
<!-- This grid is missing the filter icons --> |
<telerik:RadGridView x:Name="brokenGrid" AutoGenerateColumns="False" |
ItemsSource="{Binding Data, ElementName=myData}" IsReadOnly="True" Height="300"> |
<telerik:RadGridView.Columns> |
<telerik:GridViewDataColumn DataMemberBinding="{Binding CreatedBy}" Header="User" IsFilterable="True" /> |
<telerik:GridViewDataColumn DataMemberBinding="{Binding Customer.CustName}" Header="Shipto Name" /> |
<telerik:GridViewDataColumn DataMemberBinding="{Binding Customer.Add1}" Header="Shipto Address" /> |
<telerik:GridViewDataColumn DataMemberBinding="{Binding Customer.City}" Header="Shipto City" /> |
<telerik:GridViewDataColumn DataMemberBinding="{Binding Customer.State}" Header="State" /> |
<telerik:GridViewDataColumn DataMemberBinding="{Binding Customer.Zip}" Header="Zip" /> |
<telerik:GridViewDataColumn DataMemberBinding="{Binding DocumentTemplate.Title}" Header="Template" /> |
</telerik:RadGridView.Columns> |
</telerik:RadGridView> |
<!-- This grid is showing the filter icons --> |
<telerik:RadGridView x:Name="fixedGrid" AutoGenerateColumns="True" Height="300" |
ItemsSource="{Binding Data, ElementName=myData}" IsReadOnly="True"> |
</telerik:RadGridView> |
</StackPanel> |
</Grid> |
</navigation:Page> |
Dan Walton