GridView and Custom ICollectionView implementation

5 posts, 0 answers
  1. Anna
    Anna avatar
    6 posts
    Member since:
    Jan 2011

    Posted 10 Nov 2011 Link to this post

    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
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Nov 2011 Link to this post

    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 >>

  3. Anna
    Anna avatar
    6 posts
    Member since:
    Jan 2011

    Posted 11 Nov 2011 Link to this post

    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
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Nov 2011 Link to this post

    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 >>

  5. Anna
    Anna avatar
    6 posts
    Member since:
    Jan 2011

    Posted 11 Nov 2011 Link to this post

    Hi, it does work with the standard DataGrid.

    I will open a ticket.

    Thank you
Back to Top