Won't fix
Last Updated: 21 Jun 2018 14:50 by ADMIN
ADMIN
Stefan Nenchev
Created on: 02 May 2017 11:37
Category: GridView
Type: Bug Report
0
GridView: Setting a RelativeSource binding in the RowStyle causes binding errors in some scenarios.

		
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
ADMIN
Polya
Posted on: 15 May 2017 11:05
This functionality is not supported for RadGridView.GroupRenderMode="Nested". We recommend using RadGridView.GroupRenderMode="Flat".
ADMIN
Stefan Nenchev
Posted on: 02 May 2017 11:39
Directly using the Style that targets the GridViewRow element in the Resources of the RadGridView instance does not cause the undesired behavior. For example:

<telerik:RadGridView.Resources>
                <Style  TargetType="{x:Type telerik:GridViewRow}" BasedOn="{StaticResource {x:Type telerik:GridViewRow}}">
                    <Setter Property="Background" 
                Value="{Binding Background, 
                                RelativeSource={RelativeSource FindAncestor,AncestorType=Window}, Converter={StaticResource myConv}}"/>
                </Style>
            </telerik:RadGridView.Resources>