Hello
I have strange "error" when using column grouping in xaml. The grouping is working, and I cannot find any issue with that however I don't like having binding errors in output window because that means that something is wrong.
I have flowing column:
and following group description:
However during application start I can see following error:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=Columns[DeviceTypeDescription]; DataItem=null; target element is 'ColumnGroupDescriptor' (HashCode=36687163); target property is 'Column' (type 'GridViewColumn')
When I go to the tab where grid is, grouping is working properly. Just for information. Data for taht grid is loaded only when I open tab not during application start.
Regards
I have strange "error" when using column grouping in xaml. The grouping is working, and I cannot find any issue with that however I don't like having binding errors in output window because that means that something is wrong.
I have flowing column:
<telerik:GridViewDataColumn Header="Device Type" Width="Auto" DataMemberBinding="{Binding Path=DeviceTypeDescription}" UniqueName="DeviceTypeDescription" /><telerik:RadGridView.GroupDescriptors><telerik:ColumnGroupDescriptor Column="{Binding Columns[\DeviceTypeDescription\], ElementName=GridView}" SortDirection="Ascending" /></telerik:RadGridView.GroupDescriptors>System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=Columns[DeviceTypeDescription]; DataItem=null; target element is 'ColumnGroupDescriptor' (HashCode=36687163); target property is 'Column' (type 'GridViewColumn')
When I go to the tab where grid is, grouping is working properly. Just for information. Data for taht grid is loaded only when I open tab not during application start.
Regards