I am trying to set a gridview filterdescriptor in xaml.
The filterdescriptor looks like this:
The idea is that gridview A automatically filters according to what is selected in gridview B.
The full error is as follows:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=Name; DataItem=null; target element is 'FilterDescriptor' (HashCode=61845703); target property is 'Value' (type 'Object')
Any ideas? I'm happy to post more code, just let me know what other information would help.
The filterdescriptor looks like this:
<
telerik:RadGridView.FilterDescriptors
>
<
telerik:FilterDescriptor
Member
=
"Customer.Name"
Value
=
"{Binding Name, ElementName=gvWorkOrders.SelectedItem}"
/>
</
telerik:RadGridView.FilterDescriptors
>
The idea is that gridview A automatically filters according to what is selected in gridview B.
The full error is as follows:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=Name; DataItem=null; target element is 'FilterDescriptor' (HashCode=61845703); target property is 'Value' (type 'Object')
Any ideas? I'm happy to post more code, just let me know what other information would help.