This question is locked. New answers and comments are not allowed.
Hi,
I've a MVVM Silverlight 4 module, that has a RadDataFilter on the view. I've binded the Source property of the filter on a ViewModel collection property. Now I would to bind the FIlteredSource property of the filter on another collection property in my ViewModel. My goal is to have the filtered collection in my ViewModel, and to elaborate it with linq.
The problem is that the FilteredSource is a get property, and Silverlight 4 does not support the OneWayToSource mode.
I've tried with this workaround:
but it doesn't work.
Is there a workaround for this? Is another method to reach my goal?
Thanks,
Cosimo.
I've a MVVM Silverlight 4 module, that has a RadDataFilter on the view. I've binded the Source property of the filter on a ViewModel collection property. Now I would to bind the FIlteredSource property of the filter on another collection property in my ViewModel. My goal is to have the filtered collection in my ViewModel, and to elaborate it with linq.
The problem is that the FilteredSource is a get property, and Silverlight 4 does not support the OneWayToSource mode.
I've tried with this workaround:
<
telerik:RadDataFilter
x:Name
=
"JobsFilter"
Source
=
"{Binding Jobs}"
FilteredSource
=
"{Binding FilteredJobs, Mode=TwoWay, UpdateSourceTrigger=Explicit}"
/>
but it doesn't work.
Is there a workaround for this? Is another method to reach my goal?
Thanks,
Cosimo.