My RadGrid has several instances where I use a Row Details Template to have a Grid within a grid (if that makes any sense...). I was hoping the rows of the inner grid would inherit the style of the parent grid, but this doesn't seem to be the case. Even if I define a row style in the XAML markup for my inner grid it still doesn't work. But there is no problme at all with the parent grid. All I want to be able to do is make the background of each row transparent. Does anyone have any suggestions on what I might be doing wrong?
<telerikGrid:RadGridView x:Name="partSearchInfoRadGridView" GridLinesVisibility="Horizontal" AutoGenerateColumns="False" SelectionMode="Multiple" ItemsSource="{Binding partInfoDT}" RowDetailsVisibilityChanged="partSearchInfoRadGridView_RowDetailsVisibilityChanged" |
RowDetailsVisibilityMode="VisibleWhenSelected" RowLoaded="partSearchInfoRadGridView_RowLoaded" ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
Style="{DynamicResource RadGridViewStyleECP}" RowStyle="{DynamicResource GridViewRowStyle}" |
IsSynchronizedWithCurrentItem="False" SelectionChanged="partSearchInfoRadGridView_SelectionChanged"> |
<telerikGrid:RadGridView.Columns>.... |
<telerikGrid:RadGridView.RowDetailsTemplate> |
<DataTemplate> |
<telerikGrid:RadGridView x:Name="partSearchInfoInnerRadGridView" CanUserFreezeColumns="False" GridLinesVisibility="Horizontal" IsReadOnly="True" |
AutoGenerateColumns="False" Height="200" RowHeight="30" ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
Style="{DynamicResource RadGridViewStyleECP}" RowStyle="{DynamicResource GridViewRowStyle}" |
IsSynchronizedWithCurrentItem="False" RowDetailsVisibilityMode="Collapsed" |
SelectionChanged="partSearchInfoInnerRadGridView_SelectionChanged" |
IsFilteringAllowed="False" ShowGroupPanel="False" > |
<telerikGrid:RadGridView.Columns>.... |