JumpList duplicates items on sort

2 posts, 0 answers
  1. John
    John avatar
    7 posts
    Member since:
    Nov 2011

    Posted 11 Mar 2012 Link to this post

    I have a jumplist with a sort descriptor that sorts by a property called Name. The KeyName of the sort descriptor is set to "Name". If I have two items in the list, one with a name of "Aa" and one with a name of "Am" and I change the first item's name to "Az" I would expect the list to change to "Am" followed by "Az". That works correctly. But if I then change the "Az" item's name back to "Aa" the list displays three items: "Aa", "Am", "Aa". If I debug the code the ObservableCollection bound to the jumplist only has two items "Aa" and "Am". It looks like the sort logic of the jump list is not handling the last item in the list correctly.

    Can this be fixed in an upcoming nightly build? Thanks.
  2. Deyan
    Deyan avatar
    2026 posts

    Posted 12 Mar 2012 Link to this post

    Hi John,

    Thanks for writing and for reporting this issue.

    I have tried to reproduce it on my side by using a very simple setup of RadJumpList and a collection of items that expose a Name property. I filled my collection with two items that have their Name property initialized to Aa and to Am respectively. I then changed the Name property of the first item to Az and it was correctly repositioned. After that I reverted it to Aa and it was correctly repositioned at the first place of the viewport without any glitches.

    Since I could be doing something differently, I would kindly like to ask you to provide me with some further details on your scenario so that I can make sure that I try to debug it correctly. It will be great if you manage to isolate it in a separate project and send it to me for investigation.

    Please note that you will have to open a new support ticket in order to be able to attach files.

    Thanks for your time.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
Back to Top