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

[Solved] RadScheduler has wrong time in timeslots

2 Answers 227 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Lukas
Top achievements
Rank 2
Lukas asked on 06 May 2009, 11:24 AM
Hi,

I'm using a RADScheduler in timelineview only.
It show the time from 6.00 to 20.00h in 60 timeslots, so every slot represents 15 minutes.
Worked fine before I upgraded to Q1 2009.
Now the timeslot-headers show the right time, but the first timeslot-object from left, which should contain startTime='date + 06:00' now contains startTime='date+00:00'.
No matter what I set the Radscheduler.TimelineView.StartTime-Property to, the frist slot always has startTime 00:00, but the header show right startTime!


Here's the markup:

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndField="dnp_bisdat"  
        DataKeyField="dnp_id" DataSourceID="sql_Source"  
        DataStartField="dnp_vondat" DataSubjectField="dat_name" 
        OverflowBehavior="Expand" SelectedView="TimelineView"  
        HoursPanelTimeFormat="htt" ValidationGroup="RadScheduler1"  
        ShowViewTabs="False"          
        Culture="de-DE" TimeZoneOffset="00:00:00"  OnClientTimeSlotClick="TimeSlotClick">
    <TimelineView SlotDuration="00:15:00" StartTime="06:00" NumberOfSlots="60" 
                  TimeLabelSpan="4" HeaderDateFormat="d" GroupBy="User"  
                  GroupingDirection="Vertical" ColumnHeaderDateFormat="HH:mm" />  
    <ResourceTypes> 
        <telerik:ResourceType DataSourceID="sql_user"  
            ForeignKeyField="dnp_usr_id" KeyField="usr_id" Name="User"  
            TextField="usr_name" /> 
    </ResourceTypes> 
</telerik:RadScheduler> 
 

and small Javascript for debug:
        function TimeSlotClick(sender, args) 
        { 
            alert(args.get_time()); 
        } 

If you click leftmost slot in the first row you'll see the issue.

Hope you can help me on this

thanks in advance,
Lukas

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 08 May 2009, 02:37 PM
Hello Lukas,

Thank you for reporting this problem. We will have a closer look at it follow up with our findings next week.

Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Peter
Telerik team
answered on 12 May 2009, 02:54 PM

Lukas, I am glad to inform you that we have fixed the problem. You can dowload the latest build next week and give it a try: http://www.telerik.com/account/latest-internal-builds.aspx


All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Lukas
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or