I've read and tried implementing the behavior referenced in other posts (How To: Synchronize your UI selected items with your data context using MVVM and Blend behaviors for Silverlight and WPF ).
I'm having binding issues because I'm also using a RadDataPager.
My DataPager is bound to an ObservableCollection, and the Grid is bound to the Pager.
Now I want to add multiple items binding, so I end up with something that looks like this in your sample:
but my source statement on there needs to be a binding to the pager like this:
and I'm getting binding exceptions thrown when I try to open the form.
Again... All I'm trying to do is the same as Vladimir's example except extend it to also use a RadDataPager.
Any help would be wonderful, thanks!
-Dave
I'm having binding issues because I'm also using a RadDataPager.
My DataPager is bound to an ObservableCollection, and the Grid is bound to the Pager.
Now I want to add multiple items binding, so I end up with something that looks like this in your sample:
<
i:Interaction.Behaviors
>
<
local:MyMultiSelectBehavior
SelectedItems
=
"{Binding SelectedItems, Source={StaticResource context}}"
/>
</
i:Interaction.Behaviors
>
but my source statement on there needs to be a binding to the pager like this:
Source={Binding PagedSource, ElementName=RadDataPager}
and I'm getting binding exceptions thrown when I try to open the form.
Again... All I'm trying to do is the same as Vladimir's example except extend it to also use a RadDataPager.
Any help would be wonderful, thanks!
-Dave