Hi,
i have UserControl that contains a RadGridView and a RadCarousel. The ItemSource of the RadCarousel is bound to the SelectedItem of the Grid and has a filter. So far so good.
The Problem is: when the user filters the grid, the filter of the RadCarousel is beeing removed. How can i keep the filter? Is there something wrong with my databinding?
here is the source of the xaml:
i have UserControl that contains a RadGridView and a RadCarousel. The ItemSource of the RadCarousel is bound to the SelectedItem of the Grid and has a filter. So far so good.
The Problem is: when the user filters the grid, the filter of the RadCarousel is beeing removed. How can i keep the filter? Is there something wrong with my databinding?
here is the source of the xaml:
<
telerik:RadGridView
x:Name
=
"uxCustomerGrid"
ItemsSource
=
"{Binding Customers}"
Grid.Row
=
"0"
DataLoadMode
=
"Asynchronous"
IsReadOnly
=
"True"
EnableColumnVirtualization
=
"True"
EnableRowVirtualization
=
"true"
SelectionMode
=
"Extended"
RowIndicatorVisibility
=
"Collapsed"
IsSynchronizedWithCurrentItem
=
"True"
/>
<
telerik:RadCarousel
Name
=
"uxEmployeeCarousel"
Grid.Row
=
"1"
DataContext
=
"{Binding ElementName=uxCustomerGrid, Path=SelectedItem}"
ItemsSource
=
"{Binding Bedienstete}"
ItemTemplate
=
"{DynamicResource EmployeeTemplate}"
IsSynchronizedWithCurrentItem
=
"True"
>
<
telerik:RadCarousel.FilterDescriptors
>
<
telerik:FilterDescriptor
Operator
=
"IsEqualTo"
Member
=
"BEDDeaktiviert"
Value
=
"0"
>
</
telerik:FilterDescriptor
>
</
telerik:RadCarousel.FilterDescriptors
>
</
telerik:RadCarousel
>