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

Single day event spanned accross two days in Timeline view

1 Answer 40 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 04 Dec 2009, 09:07 AM
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

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Dec 2009, 11:41 AM
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.
Tags
Scheduler
Asked by
David
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or