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

[Solved] Timeline View has double row height

4 Answers 190 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 09 Oct 2009, 09:35 AM
When I add an appointment to the the timeline view in the radScheduler it automatically doubles the height of the row.  I assume that this is so another overlapping appointment can be made, however appointments in the system I'm working on should not overlap, so I would like to know if there is a way to stop the control from increasing the row height once an appointment is added?

Also while I'm here, is it possible to stop appointments overlapping using the control rather than doing it in the code behind?

Thanks in advance,

Peter

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Oct 2009, 03:54 PM
Hi Peter,

Please, set <TimelineView ShowInsertArea="false" />

As for the other question about appointments overlapping, can you be more specific? I am not sure what exactly you need to achieve.


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Peter
Top achievements
Rank 1
answered on 09 Oct 2009, 05:26 PM
Hi Peter,

Thanks for the response about the double line height.

As for the overlapping appointments, I'm working on a system that will be used to take bookings.  The Timeline view is used to insert bookings.  When a user double clicks on an appointment block (15 minutes in size) the code behind adds a booking for a set amount of time.  I need to make sure that a booking cannot a) be placed to begin or end where another existing booking is and b) cannot be dragged/extended to overlap another existing booking.

The system also makes use of resources.  I have attached a picture that shows overlapping bookings for a single resource.  I would like to know if there is a simple way to stop users from creating bookings that overlap.

Thanks again,

Peter
0
Accepted
Peter
Telerik team
answered on 12 Oct 2009, 08:28 AM
Hello Peter,

Thank you for elaborating. Actually, there is an online demo which demonstrates the desired functionality:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourceavailability/defaultcs.aspx

Please, review it and let us know if you have further questions.


All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Peter
Top achievements
Rank 1
answered on 10 Feb 2010, 07:33 PM
Thanks for your help, my problem has now been solved

Peter
Software Developer
Innovate Software
Tags
Scheduler
Asked by
Peter
Top achievements
Rank 1
Answers by
Peter
Telerik team
Peter
Top achievements
Rank 1
Share this question
or