Sorting order issue in RadScheduler.

2 posts, 0 answers
  1. Deepak Saboji
    Deepak Saboji avatar
    14 posts
    Member since:
    Feb 2010

    Posted 14 Mar 2011 Link to this post

    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 
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Mar 2011 Link to this post

    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
Back to Top