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

Start date on new appointment changes after the appointment is saved

3 Answers 49 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 01 Aug 2013, 03:53 PM
I have a scenario that one of my users encounters from time to time.  Here is the scenario.

  1. User double-clicks on the scheduler at 10:00 a.m. and the New Appointment dialog shows.  The start time is 10:00 a.m.
  2. User changes the end time by using the date/time picker.  Then clicks the "close" button on the picker.  In this case they selected 11:00 a.m.
  3. User clicks "OK" to save the new appointment.
  4. The appointment is saved, but when I refresh the scheduler the start time is switched from 10:00 a.m. to 9:00 a.m.
  5. They update the appointment to start at 10:00 a.m., save and the scheduler now shows the correct time.

Couple of notes:
  • User is in the Eastern time zone and our servers are located in Central time zone.  So her 10:00 a.m. on her computer is actually 9:00 a.m. on our server.
  • Silverlight 5
  • Telerik version Q2 2013

I am unable to recreate the issue and it seems to be somewhat isolated by user.  Have anyone seen this behavior before?

Thanks
Chris

3 Answers, 1 is accepted

Sort by
0
Ventzi
Telerik team
answered on 05 Aug 2013, 02:14 PM
Hello Chris,

We are not aware of such bug. We've tried to reproduce the problem, but unfortunately we couldn't. You've mentioned that the issue is happening from time to time and it would be very helpful if you could give us some more information what is doing the user differently then other times. I fear that without reproducing the issue on our sides we will not be able to provide more assistance.
For now we could suggest you to get the latest Q2 SP1 binaries.

We are looking forward to hearing from you.

Regards,
Ventzi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Chris
Top achievements
Rank 1
answered on 06 Aug 2013, 12:41 PM
Hello,

I was finally able to recreate this issue.  I had to set my time zone to Eastern time on my computer and then I saw the issue.  I only see the issue on our test/production site.  When I run locally I do not see the issue - I'm guessing it is because both the server and client are running on the same machine.

I also tried Mountain time and it switched the time there, too.

We have used the scheduler for 18 months in production and only recently (after upgrading) have we been noticing this.  I'll try upgrading to SP1 to see if that helps.

One other thing we have noticed.  If I manually change the start time or end time those times "stick" to what I have selected.  If I don't change either of those and accept the default values the start time and end time both adjust (per the time zone).

I'll keep investigating.  Anything I should look at in terms of Time Zones as it relates to the scheduler?

Thanks,
Chris
0
Chris
Top achievements
Rank 1
answered on 06 Aug 2013, 02:45 PM
Update:

I think I finally figured out what was happening.  I had some custom code that launched the new appointment dialog window and initialized the start and end times.  I updated this code to use DateTime.SpecifyKind with DateTimeKind.Unspecified so that the Entity Framework didn't mess with my times.  That did the trick!

Thanks,
Chris
if (HelperFunctions.SelectedAppointmentStartTime() != null)
{
    Start = DateTime.SpecifyKind(Convert.ToDateTime(HelperFunctions.SelectedAppointmentStartTime()),
                               DateTimeKind.Unspecified);
}
Tags
ScheduleView
Asked by
Chris
Top achievements
Rank 1
Answers by
Ventzi
Telerik team
Chris
Top achievements
Rank 1
Share this question
or