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

GridView and Custom ICollectionView implementation

4 Answers 36 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anna
Top achievements
Rank 2
Anna asked on 10 Nov 2011, 10:33 PM
Hi, I have a custom ICollectionView implementation which I display in a RadGridView, and I'm having trouble displaying the correct CurrentItem in the Grid when I change it from code ( for exemple using MoveCurrentToNext method).

The Grid doesn't show the same problem when I use a PagedCollectionView or CollectionViewSource.

My Implementation fires the CurrentItemChanging and CurrentItemChanged (exactly like the PagedCollectionView), so I'm quite confused as to what's missing, is there a special consideration I'm not seeing ? Anyone got a similar scenario working ?

Thanks in Advance

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Nov 2011, 07:58 AM
Hi,

Can you verify if you've raised all needed PropertyChanged events for currency? 

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Anna
Top achievements
Rank 2
answered on 11 Nov 2011, 02:38 PM
Hi, thanks for the reply,

I raise the PropertyChanged event twice for a change of currency, once for CurrentPosition and once for CurrentIndex, exactly like the PagedCollectionView.
Can you think of anything else I'm missing ?

thank you
0
Vlad
Telerik team
answered on 11 Nov 2011, 02:56 PM
Hi,

 Unfortunately I'm out of ideas what's going on in your case. If this collection will work normally with standard Silverlight components like ListBox, DataGrid, etc. and will not work with RadGridView, please open support ticket and send us small project demonstrating your scenario. We will review your implementation and we will get back with more info. 

Regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Anna
Top achievements
Rank 2
answered on 11 Nov 2011, 03:14 PM
Hi, it does work with the standard DataGrid.

I will open a ticket.

Thank you
Tags
GridView
Asked by
Anna
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Anna
Top achievements
Rank 2
Share this question
or