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

DayView spills late events over into the next day

4 Answers 52 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 2
Tim asked on 29 May 2017, 09:12 AM

Hi,

When making an appointment 

like

- StartDate = new DateTime(DateTime.Today.Year,DateTime.Today.Month, DateTime.Today.Day, 20,0,0),
- EndDate =  new DateTime(DateTime.Today.Year,DateTime.Today.Month, DateTime.Today.Day, 22,00,0),

or

- StartDate = DateTime.Today.AddHours(20),
- EndDate =  DateTime.Today.AddHours(22),

 

it spills over into tomorrow that now gets an appointment going from 6:00 - 22:00.

 

If I change the end-time to 21:59 it works as expected.

If I specify the datetime kind to either UTC/Local/etc, it still fails.

If I change the code below from 22 to 23, it still fails

Control.DayView.DayEventsViewStyle.StartTime = 3600 * 6 * 1000;
Control.DayView.DayEventsViewStyle.EndTime = 3600 * 22 * 1000;

4 Answers, 1 is accepted

Sort by
0
Tim
Top achievements
Rank 2
answered on 29 May 2017, 09:38 AM

To clarify, this is an iOS observation.

I find the same problem in your QSF app, in the DayView example, with the "Watch a movie" appointment

0
Tim
Top achievements
Rank 2
answered on 29 May 2017, 09:40 AM
0
Stefan Nenchev
Telerik team
answered on 31 May 2017, 02:31 PM
Hi Tim,

Thank you for the detailed explanation and the resources provided. I have managed to reproduce the behavior and indeed it is a bug so I have logged it in our internal system. You can track it on the following link from our Ideas & Feedback portal - Calendar: When in DayView mode, some appointments background overflow to the next day. I have updated your points accordingly. 

When testing the behavior with the previous version of the controls - 2017.2.503, I was not able to reproduce the undesired effects. I suggest you give the older version a try until we come up with a fix.

Tim, we came across some other bugs in the DayView mode of the RadCalendar lately so we are currently working on improving the overall behavior of the feature and fixing the undesired behaviors. I suggest you subscribe to the different bug reports so that you are notified when fixes are available.
 
Have a great rest of the week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Tim
Top achievements
Rank 2
answered on 31 May 2017, 03:02 PM
Thanks Stefan.
Tags
Calendar & Scheduling
Asked by
Tim
Top achievements
Rank 2
Answers by
Tim
Top achievements
Rank 2
Stefan Nenchev
Telerik team
Share this question
or