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

Sorting order issue in RadScheduler.

1 Answer 80 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Deepak Saboji
Top achievements
Rank 1
Deepak Saboji asked on 14 Mar 2011, 01:38 PM
Hi,
Here i have a senerio in RadScheduler regarding appointment sorting. I have an appointment, that is created for multi days and scheduled time is 12:00 am to 01:00 am.  The  another appointment scheduled for only day  with no specific time. Now my requirement is the appointment which is created with no specific schedule should come first and rest of the appointments should sort order by earliest time. But the problem that i am facing is multi days schedule appointments are comming at  top. Please give me some idea to arrenge these appointments in sorting order that match my requirement.

Thanks,
Deepak 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Mar 2011, 12:13 PM
Hello Deepak,

To sort appointments by some custom criteria, you should use the AppointmentComparer property of RadScheduler as shown in this forum post:
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/oder-of-entry-in-scheduler.aspx#1155620

For Web Service binding mode, please see this forum post:
 http://www.telerik.com/community/forums/aspnet-ajax/scheduler/example-of-how-to-use-an-appointmentcomparer.aspx#1188449

Feel free to contact us if you have further questions.



Regards,
Peter
the Telerik team
Tags
Scheduler
Asked by
Deepak Saboji
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or