Single day event spanned accross two days in Timeline view

2 posts, 0 answers
  1. David
    David avatar
    12 posts
    Member since:
    Jun 2009

    Posted 04 Dec 2009 Link to this post

    Hi,
    I am facing an annoying issue with the RadScheduler control;
    • When I add an All day event let's say starting and ending the 1st December, it get spanned across 30st November and 1st December.
    • When I want to correct it by resizing the bar, it is removing the all day event and make it starting and ending at a random time.
    I tried to play with timezoneoffset DayEndTime and DayStartTime settings without success.

            <telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndTime="00:00:00" DayStartTime="00:00:01" RowHeaderWidth="200px"   
                ShowViewTabs="False" StartEditingInAdvancedForm="False" DataEndField="End" Skin="Office2007" TimelineView-SlotDuration="1.00:00:00" 
                DataKeyField="ID" DataRecurrenceField="RecurrenceRule" TimelineView-NumberOfSlots="5" TimeZoneOffset="01:00:00" 
                DataRecurrenceParentKeyField="RecurrenceParentID" DataSourceID="SqlDataSource1" RowHeight="48px" TimelineView-ShowInsertArea="true"   
                DataStartField="Start" DataSubjectField="Subject" HoursPanelTimeFormat="htt" OverflowBehavior="Expand" EnableRecurrenceSupport="true" 
                ValidationGroup="RadScheduler1" SelectedView="TimelineView" GroupBy="Team" GroupingDirection="Vertical">  
                <Localization AdvancedAllDayEvent="All day"></Localization> 
     
                <AdvancedForm DateFormat="dd.MM.yyyy" TimeFormat="HH:mm" Modal="true"></AdvancedForm> 
                <AppointmentTemplate> 
                    <%#Eval("Subject")%><br /> 
                    <asp:Label runat="server" ID="LineDescription" /><br /> 
                    <asp:Label runat="server" ID="Shift" /> 
                </AppointmentTemplate> 
                <ResourceTypes> 
                    <telerik:ResourceType KeyField="LineID" Name="Line" TextField="LineDescription" ForeignKeyField="LineID" 
                        DataSourceID="LineDataSource" /> 
                    <telerik:ResourceType KeyField="GlobeEmployeeID" Name="Team" TextField="FullName" ForeignKeyField="EmployeeID" 
                        DataSourceID="TeamDataSource" /> 
                    <telerik:ResourceType KeyField="ShiftID" Name="Shift" TextField="Description" ForeignKeyField="ShiftID" 
                        DataSourceID="ShiftsDataSource" /> 
                </ResourceTypes> 
            </telerik:RadScheduler> 

    How to correct this erratic behavior?
    Regards,
    David
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Dec 2009 Link to this post

    Hi David,

    We tested your RadScheduler settings but we did not observe such a problem at our end. Please, see the attached test web site for reference. We used XmlScheduler provider to populate RadScheduler.  


    Best wishes,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top