This is a migrated thread and some comments may be shown as answers.

Multiple instances of MultiSelectBehaviour

0 Answers 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Minh
Top achievements
Rank 1
Minh asked on 24 Jul 2015, 04:31 PM
My currently program allows multiple instances of Views and using the code from the link below the SelectedItems property doesn't update for any instances created after the first. The first will always be update and trigger. 

    <telerik:RadGridView  ItemsSource="{Binding Items, Mode=TwoWay}"
                                        SelectedItem="{Binding SelectedTransaction, Mode=TwoWay}" " 
                                        IsEnabled="{Binding IsNotBusy, Mode=OneWay}"                                    
                                        SelectionMode="Extended"
                                        Framework:MultiSelectBehavior.SelectedItems="{Binding SelectedTransactions, Mode=TwoWay}">


https://github.com/telerik/xaml-sdk/blob/master/GridView/BindingSelectedItemsFromViewModel/MySelectedItemsBindingBehavior.cs

I was wondering if anyone can help me with this, my goal is to have each view's SelectedItems populate no matter how many instances are created. 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Minh
Top achievements
Rank 1
Share this question
or