Setting the starting date

Dec 16, 2009 at 9:35 PM


Thanks for the timeline control. It's brilliant. I am trying to set the InitialDateTime dynamically in code but it still uses the value from the markup. How can I do this ?



Dec 16, 2009 at 9:56 PM

InitialDateTime is static one time property. If you need to move timeline from the code you have to use TimelineTray.CurrentDateTime. Let me know if you have further questions on this.


Jul 1, 2010 at 5:10 PM

Hey guys,


thanks from me as well for the control. It is absolutly awesome.


I got the similiar request to set the InitialStartDate/CurrentDateTime property to set the control to use a specific date passed over through an aspx page parameter.


I am using this code but it doesn't work.

        Dim Dateparam As String = GetParam("InititalStartDate")  -- works
        Dim InitalStartDate As DateTime = DateTime.Parse(Dateparam) --works

        TimelineTray1.CurrentDateTime = InitalStartDate --value assignment works as well but the control doesn't take care of the new date



Is there anything I need to do after assigning the new CurrentDateTime to the object?


Thanks for your help!






Jul 1, 2010 at 7:21 PM

Could you attach a sample project with repro in issue tracker section.


Jul 2, 2010 at 8:52 AM

Thanks andrew. I appreciate your help

From: andrewsyrov []
Sent: Donnerstag, 1. Juli 2010 20:22
To: Lars Heinemann
Subject: Re: Setting the starting date [timeline:78365]

From: andrewsyrov

Could you attach a sample project with repro in issue tracker section.

Read the full discussion online.

To add a post to this discussion, reply to this email (

To start a new discussion for this project, email

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at

Jul 2, 2010 at 9:06 AM

You can download the  sample right here.


Jul 2, 2010 at 8:42 PM

I'm not familiar with VB, but it looks like your code is not stepping inside of If

        If Dateparam.Length > 0 And IsDate(Dateparam) Then
            Dim InitalStartDate As DateTime = DateTime.Parse(Dateparam)
            timeline.CurrentDateTime = InitalStartDate
        End If