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

Ordering of appointments in timeline view

3 Answers 51 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 06 Jan 2011, 01:54 PM
Hi.

Our timeline view currently renders as shown in render.png. The appointments shown as "A" and "N" in the picture are supposed to be the same schedule, but due to differences the way our scheduling system works and the RadScheduler works, I have to create them as several separate appointments. The "A"s all share the same ScheduleID, same for the "N"s, if that helps. The way it renders is pretty useless, though. The "A"s don't all show up on the same line; same for the "N"s.

In desired-render.png I've created a mock-up of how I would like it to look. So my question is, given the parameters above (separate appointments that actually are supposed to be the same), can I get the RadScheduler to render it as in desired-render.png?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Jan 2011, 10:11 AM
Hi Alexander,

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.

All the best,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Alexander
Top achievements
Rank 1
answered on 07 Jan 2011, 10:36 AM
I already sort the appointments according to custom criteria using the AppointmentComparer property. It is not sufficient, however. If you once again look at the render.png picture, you'll see that the second "N" from the left ends up in the second row, while the rest are on the fifth row. I assume this happens because there is nothing else in row #2 for that specific day, but what I'd want is for that "N" to show up in the fifth row REGARDLESS of whether or not there happens to be something else in row #2.

Same of course with the first "A" appointment on the left. It should have been in row #2, even if there's nothing in row #1 at that time.
0
Peter
Telerik team
answered on 07 Jan 2011, 10:57 AM

Thanks for clarifying. It looks like the problem is caused by appointments that span more than one time slot. I will log the issue and we will research how this can be remedied.

Please, excuse us for any inconvenience caused.


All the best,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Alexander
Top achievements
Rank 1
Answers by
Peter
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or