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

[Solved] Day view, event background disappears on long event

1 Answer 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Johan Bjerling
Top achievements
Rank 1
Johan Bjerling asked on 26 Aug 2009, 10:09 AM
Hi,

I recently found that events that are created over a great many time slots will lose its background on the later time slots.
Investigating this I was able to reproduce the problem in one of the telerik examples. Instructions to reproduce follow.

http://demos.telerik.com/aspnet-ajax/scheduler/examples/customization/defaultcs.aspx
Set "Minutes per row" to 10.
Set "Time label row span" to 1.
Click "Show 24 hours".
Create an event that starts at 12 am.
Drag this event at least past 8 am.
You should now find that the background disappears at the end of the last 7 am time slot.
The image at the bottom however, the one that contains the drag handle, is still visible.

Is there a way to resolve this?

Thank you
Johan

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 27 Aug 2009, 02:31 PM
Hi Johan,

By default, appointments use a background sprite image with fixed height and width. If the appointment length exceeds the height of the image, then you will get the result that you have experienced. The workaround is to give the the gradient nad rounded corners and set the BackColor property of the appointment. Note that the BackColor property is recently introduced wtith Q2 SP1 2009.


Kind regards,
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.
Tags
Scheduler
Asked by
Johan Bjerling
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or