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

JumpList duplicates items on sort

1 Answer 45 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 11 Mar 2012, 05:39 PM
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.

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 12 Mar 2012, 09:46 AM
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.

Regards,
Deyan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
JumpList
Asked by
John
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or