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

Custom Sort Order for Group Descriptors in JumpLists

6 Answers 54 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.
wildbohr
Top achievements
Rank 2
wildbohr asked on 12 Mar 2012, 02:55 AM
Is there any way to custom sort the the GroupDescriptors of a RadJumpList?

My example is if I am grouping by time of day, currently using non-military time doesn't get reflected properly.

1:00pm
10:00am
11:00am
12:00pm

I haven't been able to find a satisfactory fix, I've gone to using military time in the meantime.

6 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 13 Mar 2012, 03:10 PM
Hi John,

Thank you for contacting us. Is it possible for you to send us a simple project reproducing the issue? This way we will be better able to assist you. Thank you for your cooperation and understanding.

Regards,
Kiril Stanoev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
wildbohr
Top achievements
Rank 2
answered on 14 Mar 2012, 03:46 AM
I'll try to get something put together tomorrow. Should I just post the sample project here or message it directly to you?
0
Deyan
Telerik team
answered on 14 Mar 2012, 09:10 AM
Hi John,

You will need to open a new support ticket in order to be able to attach your files.

Thanks for your time.

Greetings,
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 >>
0
wildbohr
Top achievements
Rank 2
answered on 14 Mar 2012, 05:31 PM
Submitting Ticket.
0
Deyan
Telerik team
answered on 15 Mar 2012, 08:43 AM
Hi John,

Please refer to the support ticket you have opened regarding the same topic.

In short: the reason for not getting the groups sorted as expected is that you're sorting strings representing date-time values, not instances of the DateTime struct. Strings are sorted alphabetically whereas DateTime structs are sorted as integers.

Kind 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 >>
0
wildbohr
Top achievements
Rank 2
answered on 15 Mar 2012, 05:32 PM
That was my problem :), after also adding GroupFormatString=" {0:t} " I now have my desired result! Thanks!
Tags
JumpList
Asked by
wildbohr
Top achievements
Rank 2
Answers by
Kiril Stanoev
Telerik team
wildbohr
Top achievements
Rank 2
Deyan
Telerik team
Share this question
or