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

TimelineView spans multiple days???

3 Answers 107 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Keith Jusas
Top achievements
Rank 1
Keith Jusas asked on 19 Mar 2010, 04:50 PM
Hi,
I have a TimelineView that spans multiple days even though the appointment is set for one day only. For example the Start Date/Time and End Date/Time are on 3/12/10 but the TimelineView shows a start on 3/11/10 going into 3/12/10.

Probably something easy which I just am not getting.

Any help is appreciated. I attached screenshots.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 19 Mar 2010, 06:02 PM
Hi Keith,

I created an appointment in timeline view with the exact time as shown you the second screen capture, but the appointment spanned just one day. Can you send us your RadScheduler definition in case you have some other special settings which could cause this behavior?


Greetings,
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.
0
Keith Jusas
Top achievements
Rank 1
answered on 19 Mar 2010, 06:17 PM
Hi Peter,

Is this what you need?

<telerik:RadScheduler ID="RadScheduler1" runat="server" SelectedView="TimelineView" SelectedDate="2009-01-01" Width="750px" OverflowBehavior="Expand" StartInsertingInAdvancedForm="True" Skin="Office2007" Height="500px" DisplayDeleteConfirmation="False" WorkDayEndTime="18:00:00">     

The appts show fine in the month view. One other thing I seem to notice is that the spanning seems to move with the current time, i.e. I can get it to stay within the same day if I move the time. For example it is now 1:10 EST and I changed the dates to be 3/12/10 12:30PM - 3/12/10 10:59PM and it spans 2 days in TimelineView. But if I make the time  3/12/10 1:30PM - 3/12/10 10:59PM then it only spans 1 day.

You can actually go to http://www.quickbaseutilities.com/Juiced/Scheduler/default.aspx to see the example I am using and try it for yourself.
0
Peter
Telerik team
answered on 23 Mar 2010, 12:06 PM
Hi Keith,

The SelectedDate property should be set to a whole date (0 hours). For example -

declaratively:
SelectedDate="2010-03-23"

Or, code-behind:
RadScheduler1.SelectedDate = DateTime.Now.Date;

Please, try this and let us know if everything works fine now.


All the best,
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.
Tags
Scheduler
Asked by
Keith Jusas
Top achievements
Rank 1
Answers by
Peter
Telerik team
Keith Jusas
Top achievements
Rank 1
Share this question
or