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

One day appointments show spanning days

10 Answers 138 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 03 Sep 2008, 06:23 PM
When I create a one hour appointment on a single day in scheduler, in Day and Week Views it shows up correctly. In Month and Timeline Views however, it shows the appointment extending past it's actual date into the next day - as if it were an appointment from 9/3/08 10:30 AM to 9/4/08 10:30 AM for example. I've tried several different skins and they all have this problem. Is this a bug in the Scheduler control? 

Thanks,

Kevin Sanborn
Hall Data Inc. 

10 Answers, 1 is accepted

Sort by
0
Brad
Top achievements
Rank 1
answered on 03 Sep 2008, 11:51 PM
I had this problem. For me, the timezone offset was set wrong. Once I adjusted the timezone offset, it fixed the problem.

Also, if you are using a custom provider, be sure that appointment times are being converted to UTC. RadSchedler uses it's appointments in utc time. So if you are using a custom provider, be sure you are converting the times to utc. Or if you are getting appointments programmatically, be sure to convert the dates from utc to local time before displaying them.
0
Kevin
Top achievements
Rank 1
answered on 04 Sep 2008, 06:26 PM
Thanks for your reply, Brad. I hadn't set the TimeZoneOffset at all, so I assumed it was correct. I set it to -8:00:00:00 (which I think is correct for PST) and I get the same results, so I'm still looking for a solution.

Kevin Sanborn
Hall Data Inc.
0
Brad
Top achievements
Rank 1
answered on 04 Sep 2008, 08:55 PM
Kevin, you might try adjusting the timezoneoffset value wildly (like by 12 or 14 hours) in both directions (both + and -) and see if it has an effect on your appointments. Here's how I did it:

My appointments were showing up on the day before the appointment and the day of, so I set wild timezoneoffset values until the appointment showed on the day of and day after. Then I knew the timezoneoffset was having an effect. Then, I decreased the amount of offset a little at a time until the appointments finally appeared properly.

If that doesn't work, I'm not sure what else to tell you. Maybe someone from the Telerik team will be able to help.
0
Peter
Telerik team
answered on 08 Sep 2008, 12:29 PM
Hello Kevin,

Can you replicate the problem in any of our online examples? Which version are you using? Have you tried with the latest version?

If the problem persists, please open a support ticket and send us a working demo web site which we can test and debug locally.



Kind regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Kevin
Top achievements
Rank 1
answered on 16 Sep 2008, 05:26 PM
Hi Peter,

I'm using the latest version of the control and, no, I haven't tried duplicating it with any of the online code samples yet. The funny thing is, once I implemented recurrence in the Scheduler, the problem seems to have stopped! If I have a chance I'll see if turning recurrence off causes the behavior again.

Thanks!

Kevin
Hall Data Solutions

0
c
Top achievements
Rank 1
answered on 27 Jan 2009, 10:03 PM

My colleague had the same problem and fixed in the CSS with the following:

This problem usually occurs if RadScheduler resides in a container which has align:center. The following css should help you fix it:

.rsWrap     
    {     
        text-align:left !important;      
    }    
 

We created a ticket with Telerik and this was the response we received and it fixed our problem.

Hope it helps if you are still having the issue.

 

Thanks,

Connie

Larimer County Govt

0
Michael
Top achievements
Rank 1
answered on 29 Jan 2009, 09:18 PM
Hello,

I had the same problem and the solution Connie posted worked for the appointments issue. 

However, the drop down calendar in the toolbar for the scheduler only displays "half" of the calendar when the scheduler is inside a container with align="center".

How do I fix this besides taking the control out of the container which has align="center"?  Taking the control out of the container tag fixed it but there must be a better solution.

Thanks,
Michael
0
Peter
Telerik team
answered on 30 Jan 2009, 08:45 AM
Hi Michael,

Again, the left attribute for IE needs to be adjusted:
 .rsDatePickerCalendar  
    {  
         left:0px !important;     
    } 



Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marbry
Top achievements
Rank 1
answered on 16 Jul 2013, 04:29 PM
I know this is resurrecting an old thread, but I'm experiencing the same issue with the current version of the control.

I'm in timeline view with exact time rendering off, so I'm only working with whole day boundaries (where I think it should ignore time altogether to start with) but I see the same appointment offset issue.  Oddly, this would sometimes correct itself when selecting a current date from the built-in calendar control on the scheduler.

My timezone offset is -06:00:00, but I was able to get the control to display correctly only by setting the offset to 12:00:00.

If it displays correctly and gives the correct date values both directions that will work for now, but there's still something odd going on here.
0
Boyan Dimitrov
Telerik team
answered on 19 Jul 2013, 02:53 PM
Hello,

Could you please elaborate a bit more scenario? It will be very helpful if explain the exact steps in order to replicate that problem. Could you please confirm whether you are having same issue with our RadScheduler Time Zones online demo located here? Are you facing that problem with our latest RadControls version?

Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Kevin
Top achievements
Rank 1
Answers by
Brad
Top achievements
Rank 1
Kevin
Top achievements
Rank 1
Peter
Telerik team
c
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Marbry
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or