RadScheduler timezone offset with web service binding

4 posts, 0 answers
  1. Joe Buckle
    Joe Buckle avatar
    47 posts
    Member since:
    Nov 2009

    Posted 21 Apr 2010 Link to this post

    Good day!

    Before, I was binding a scheduler through code behind. With the timezoneoffset set to zero, for example, an appointment that is saved in the database as 8:00 AM shows up correctly. When I decided to use web service binding, the appointment shows up at 12:00 AM. Why is this so?

    Thanks,
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2815 posts

    Posted 23 Apr 2010 Link to this post

    Hello Joe,

    Please, make sure that the dates that are returned from your provider are in Utc. Calling SpecifyKind on them should to the trick:

    apt.Start = DateTime.SpecifyKind(start, DateTimeKind.Utc);

    I hope this helps.

    Best wishes,
    Tsvetomir Tsonev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. Joe Buckle
    Joe Buckle avatar
    47 posts
    Member since:
    Nov 2009

    Posted 24 Apr 2010 Link to this post

    Thanks! This has solved the issues I got. :)
  4. Palani
    Palani avatar
    5 posts
    Member since:
    Jul 2012

    Posted 20 Oct 2012 Link to this post

    That is worked ... Thanks!
Back to Top