Time Offset

5 posts, 0 answers
  1. debett
    debett avatar
    30 posts
    Member since:
    Feb 2007

    Posted 29 Jul 2010 Link to this post

    Hi all,

    As you can see on the attached images - there are two appointments between 8 am and 10 am.
    The first appointment starts at 8.30, but visually shown as starting at 8.00.

    The second appointment has time 9:25 - 10:10, but telerik visually shows this appointment ending well before 10.00 am mark.

    So it seems like the left portion with time has nothing to do with the appointments:( 


    Thank you.
  2. debett
    debett avatar
    30 posts
    Member since:
    Feb 2007

    Posted 29 Jul 2010 Link to this post

    Oh, yeah, forgot my files.

    See them attached.


  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 29 Jul 2010 Link to this post

    Hi debett,

    Please, send us your RadScheduler settings so we can test them locally.

    Regards,
    Peter
    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
  5. Stephanie
    Stephanie avatar
    2 posts
    Member since:
    Nov 2010

    Posted 16 Dec 2010 Link to this post

    Was there ever an answer to this question?  I am having the same problem.  All of my appointment start times are shifted back 1/2 hour in the week and day view.  Any suggestions are greatly appreciated.  Thank you!!

      My scheduler is setup as:
    <telerik:RadScheduler runat="server" ID="RadScheduler1" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"
        DataKeyField="CompanyEventId" DataSubjectField="title" DataStartField="StartDate"
        DataEndField="EndDate" EnableDescriptionField="true" EnableEmbeddedSkins="true"
        OverflowBehavior="expand" StartEditingInAdvancedForm="true" EnableCustomAttributeEditing="true"
        StartInsertingInAdvancedForm="true" ShowAllDayRow="false" DataRecurrenceField="RecurrenceRule"
        SelectedView="monthView" DataRecurrenceParentKeyField="RecurrenceParentID" AllowDelete="false"
         DisplayRecurrenceActionDialogOnMove="true" >
        <AdvancedForm Modal="true" MaximumHeight="500" />
        <Reminders Enabled="true" />
        <AppointmentTemplate>
            <asp:Literal ID="AppointmentSubject" runat="server" Text='<%# Eval("subject") %>'></asp:Literal>
            (<asp:Literal ID="AppointmentStartTime" runat="server" Text='<%# Eval("start", "{0:t}") %>'></asp:Literal>
            -
            <asp:Literal ID="AppoitmentEndTime" runat="server" Text='<%# Eval("End", "{0:t}") %>'></asp:Literal>)
        </AppointmentTemplate>
        <AdvancedInsertTemplate>
            <div class="rsAdvancedEdit" style="position: relative">
                <scheduler:AdvancedForm ID="ctlAdvancedForm" runat="server" />
            </div>
        </AdvancedInsertTemplate>
        <AdvancedEditTemplate>
            <div class="rsAdvancedEdit" style="position: relative">
                <scheduler:AdvancedForm ID="ctlAdvancedForm" runat="server" />
            </div>
        </AdvancedEditTemplate>
        <TimelineView UserSelectable="false" />
        <TimeSlotContextMenuSettings EnableDefault="true" />
        <AppointmentContextMenuSettings EnableDefault="true" />
    </telerik:RadScheduler>

    Attached is an image of what I am seeing. 
    I've stepped through the code and when I set the radscheduler datasource, the appointment times are set correctly.  But when I look at the page source, I notice the times are 1 minute less than they should be.  So 9:30 is 9:29.  Such as:

    {\"domElements\":[\"ctl00_cphContent_uc3_RadScheduler1_7_0\"],\"id\":125,\"visible\":true,\"subject\":\"standalone event\",\"description\":\"\",\"toolTip\":\"standalone event: 12/16/2010 7:30:00 AM - 12/16/2010 9:30:00 AM\",\"recurrenceState\":0,\"internalID\":\"/wECfQ==\",\"start\":\"2010/12/16 07:29\",\"end\":\"2010/12/16 09:29\"}








  6. Stephanie
    Stephanie avatar
    2 posts
    Member since:
    Nov 2010

    Posted 16 Dec 2010 Link to this post

    Never mind.  It is resolved.  I had the following line in my Page_Load:

    Me

     

    .RadScheduler1.TimeZoneOffset = New TimeSpan(CurrentTimeZone)

    Once I commented it out, it solved the problem.  Not sure why, but it's working correctly now.  Thanks!

     

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017