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

Displaying appointments side by side in timeline view

12 Answers 243 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
mary
Top achievements
Rank 1
mary asked on 11 Jul 2008, 01:21 PM
Hi
How do you display multiple appointments, in the same timeslot, side by side in the timeline view.  I want to display the appointments following each other in the time slot with the widths set appropriatley based on start/end time within the time slot (not set at 100% of the timeslot or at a default width)
Thanks

12 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 17 Jul 2008, 12:55 PM
Hello m,

It is possible to arrange Appointments along the width of the Time Slot but this brings forward a few questions.

For example, should Appointments be as wide as their duration is in terms of percentage?

Or how should they be sorted by start time, by end time or by another criterion?

And finally, with high number of Appointments in the same Time Slot they could become very small and their subjects may not be properly displayed. Is this acceptable?

I will try to provide a solution as soon as these issues are clarified.

Please let me know what do you think.

Regards,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
mary
Top achievements
Rank 1
answered on 17 Jul 2008, 01:19 PM
Hi Simon
I would like the appointments to be as wide as their duration in terms of percentage of the timeslot and also to be positioned with the timeslot at the correct start time.  Eg.  if looking an hour time slot and there are 3 appointments starting at 9.00,9.15, 9.45 each appointment taking 15 minutes (there are no overlapping appointments in my scenario), each appointment should have 25% width (of timeslot) and be positioned in the correct order in the timeslot (9.00 appointment before the 9.15 and then 25% gap to the 9.45 appointment).   Appointments can also run over time slots (eg, 9.45 to 10.15) and will not be of the same duration in practice.
It is likely that there will be a high number of Appointments in the same Time Slot so i'm not intending on showing the subject in the appointment.

Also, can you give me an indication of how many appointments can be added to the timeline before performance degrades significantly.

mary
0
Simon
Telerik team
answered on 21 Jul 2008, 02:32 PM
Hi m,

Thank you for clarifying.

This is an interesting but complex case, and I will need some more time to research the possibilities of the implementation.

I will contact you here by the end of this week with further information on the matter and hopefully with the solution.

Thank you in advance for your patience.

Sincerely yours,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Simon
Telerik team
answered on 21 Nov 2008, 02:12 PM
Hi mary,

The initial research of the implementation of this functionality showed that it could be achieved, however, with difficulty and not at 100%.

Fortunately, RadScheduler has undergone serious changes in its rendering mechanism as well as in its functionality since its previous versions, before Q3.2008.

With the current rendering of the control your goal could be easily achieved. What is more, it could be a default, built-in functionality. We are currently working on incorporating it in RadScheduler. Hopefully, it will be available with the next Service Pack for Telerik.Web.UI.

Please excuse me for the delayed answer. I hope you are still looking for this functionality and you would have the opportunity to benefit from it once it is released.

Thank you in advance for your understanding.

Sincerely yours,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
KingPrawn
Top achievements
Rank 1
answered on 10 Mar 2009, 11:18 AM
Hi,

Is this in the new version?  If so are there any examples of doing this as I'm needing to do something along the same lines.

Regards
kp
0
Lukas
Top achievements
Rank 2
answered on 05 May 2009, 09:25 AM
Hi,

I have the same issue here.
Is there already a solution to it?

Its a critical feature in my application because we want to use the schedular for planning the work schedule for each employee for every day.

The functionality of the schedular is almost perfekt for this, but the rendering makes it almost useless (e.g. an appoinmet from 6.00 am to 7 pm will render as an appointment from 6:00am to about 4:08pm; way to short )

I read about this issue should be solved in Q3 2008 by setting the radscheduler to read-only; but this doesn't help me. I need id editable.

I hope you can provide a solution or some workaround

Thanks in advance,
Lukas
0
Lukas
Top achievements
Rank 2
answered on 05 May 2009, 11:49 AM
Ok I figured out a workaround.
I'll post it for whoever might be intersted in:

    Protected Sub RadScheduler1_AppointmentCreated(ByVal sender As ObjectByVal e As Telerik.Web.UI.AppointmentCreatedEventArgs) Handles RadScheduler1.AppointmentCreated 
        Dim minutes As Long 
 
        minutes = DateDiff(DateInterval.Minute, e.Appointment.Start, e.Appointment.End
        e.Appointment.AppointmentControls(0).Width = Unit.Percentage(107.5 * (minutes / 15)) 
    End Sub 


This set the width for the appointments 99.9% correct to the timeslot-borders.
I use it with one timeslot every 15 minutes and up to 20 hours a day and it works quite precise

Hope this helps
0
Shabana
Top achievements
Rank 1
answered on 08 Jun 2011, 02:38 PM
Hi,

I need information or an update on how to display appointments side by side in timeline view? For an example if i have a resource called Room1 and on Monday i have 2 appointments for Mr A and Mr B in this room. I want these 2 appointments to be displayed in the same row side by side.

Thanks
Shabana.
0
Simon
Telerik team
answered on 08 Jun 2011, 03:52 PM
Hello Shabana,

In its latest version RadScheduler supports exact time rendering in Timeline view. Isn't this what you are looking for?

Greetings,
Simon
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
Shabana
Top achievements
Rank 1
answered on 08 Jun 2011, 04:11 PM
Hi Simon,

Thanks for the quick reply. I have included exact time rendering in Timeline view.
Please look at the attachment and let me know if this is possible?

Regards
Shabana
0
Shabana
Top achievements
Rank 1
answered on 09 Jun 2011, 12:15 PM
Hi Simon,

Please let me know if this is possible ? I have attached the image.

Thanks
Shabana.
0
Peter
Telerik team
answered on 13 Jun 2011, 04:48 PM
Hello Shabana,

This is not going to be supported because you might have appointments that overlap in time in which case it is not possible to display them in one row.

Best wishes,
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
mary
Top achievements
Rank 1
Answers by
Simon
Telerik team
mary
Top achievements
Rank 1
KingPrawn
Top achievements
Rank 1
Lukas
Top achievements
Rank 2
Shabana
Top achievements
Rank 1
Peter
Telerik team
Share this question
or