This question is locked. New answers and comments are not allowed.
Hello I am having a problem with the grid using custom databinding row templates. I am getting random white lines that are getting injected into the grid when sort the grid. This is randomly happening, but does not occur the first time the grid is bound. I am using MVVM with Caliburn.Micro and here is my XAML
and my template for the control
Is this a known issue? or is it something that is screwed up in my markup?
Thanks for your help!
<Controls:RadGridView ItemsSource="{Binding Alerts}" CanUserFreezeColumns="False" ScrollMode="Deferred" IsReadOnly="True" x:Name="Alerts" GridLinesVisibility="None" AutoGenerateColumns="False" CanUserReorderColumns="False" CanUserSortColumns="True" MinHeight="400" RowStyle="{StaticResource rowStyle}" Height="535" SelectionMode="Multiple"> <Controls:RadGridView.Columns> <Controls:GridViewDataColumn Header="Alert Date" DataMemberBinding="{Binding AlertDate}" IsFilterable="False" Width="150" /> <Controls:GridViewDataColumn Header="Alert Type" DataMemberBinding="{Binding AlertType}" IsFilterable="False" Width="100" /> <Controls:GridViewDataColumn Header="Job Name" DataMemberBinding="{Binding Path=Job.JobName}" IsFilterable="False" Width="100" /> <Controls:GridViewDataColumn Header="Comment" DataMemberBinding="{Binding Comment}" IsFilterable="False" Width="100" /> </Controls:RadGridView.Columns> </Controls:RadGridView>and my template for the control
<StackPanel.Resources> <ControlTemplate x:Key="AlertRowTemplate" TargetType="telerik:GridViewRow"> <Border x:Name="rowsContainer" BorderBrush="#FFA0AFC3"> <UserControl cal:View.Context="{Binding AlertType}" cal:View.Model="{Binding}"></UserControl> </Border> </ControlTemplate> <Style x:Key="rowStyle" TargetType="telerik:GridViewRow"> <Setter Property="Template" Value="{StaticResource AlertRowTemplate}" /> </Style> </StackPanel.Resources>Is this a known issue? or is it something that is screwed up in my markup?
Thanks for your help!
