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

Wrong Dates - MonthView SlotClick

2 Answers 59 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
cursive34
Top achievements
Rank 1
cursive34 asked on 20 Nov 2008, 05:00 PM

I am playing around with the Scheduler and the OnClientTimeSlotClick event. Right now I have done nothing to the scheduler but add the client event and an alert to see the day. When i click on some dates (only happens in MonthView - Day and Week return the correct date/time) it returns the day before. It appears it is only happening when the monthview is on November and the date is from November 3 on. It returns: Wednesday, November 19, 2008 11:00:00 PM when i click on Nov. 20/ If i switch to December all of the Dec. dates show right. If i go back to november i get the same problem.

My page is just the scheduler and script manager with teh javascript alert. I am not even binding data to it yet.

<telerik:RadScheduler ID="RadScheduler1" DayStartTime="08:00:00" DayEndTime="18:00:00" TimeZoneOffset="03:00:00" 
 DataEndField="End" DataKeyField="Key" DataStartField="Start" DataSubjectField="Subject" OnClientTimeSlotClick="timeSlotClick" runat="server">  
</telerik:RadScheduler> 

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 24 Nov 2008, 02:52 PM
Hello Justin,

I tested the scenario you described, but the problem didn't appear at my end. Can you send us the complete code of your implementation and the exact steps needed to replicate the issue? Also, please specify the version that you use.



Kind regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
cursive34
Top achievements
Rank 1
answered on 24 Nov 2008, 04:18 PM
ive already came up with a fix thanks for your help
Tags
Scheduler
Asked by
cursive34
Top achievements
Rank 1
Answers by
Peter
Telerik team
cursive34
Top achievements
Rank 1
Share this question
or