First you need to read the Installation.

Register the Tax in your page or control:

<%@ Register assembly="TimelineNet" namespace="TimelineNet" tagprefix="cc1" %>

To create a basic Timeline use:
<cc1:Timeline ID="Timeline1" JSName="t1" Height="200" Width="100%" runat="server" />

and then in your code behind all you need to do is add events:

Timeline1.TimelineData = new TimelineNet.Library.TimelineData();
Timeline1.TimelineData.Add(new Event(DateTime.Now.AddDays(-1), DateTime.Now, true, "Hello", "", "Hello world!", ""));

It also supports RSS Feeds:

<cc1:Timeline ID="Timeline2" JSName="t2" Height="400" BubbleHeight="300" BubbleWidth="400" DataSourceType="rss" RssFeed="" ParentElementID="my-timeline2" Width="100%" runat="server" />

<cc1:Timeline ID="Timeline3" JSName="t3" Height="400" BubbleHeight="300" BubbleWidth="400" DataSourceType="rss" RssFeed="" ParentElementID="my-timeline3" Width="100%" runat="server" />

Last edited Mar 21, 2008 at 8:18 PM by RobChartier, version 2


mcb1972 Dec 12, 2013 at 7:12 PM 
If your using IIS 7 or greater use system.webServer instead of system.web. Solves the handler Failed to load data problem.

rnbergren Jul 12, 2011 at 5:27 PM 
wpatter6 you can fix that error by putting the following in your web.config system.web httphandlers area.
<add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" />

wpatter6 Apr 16, 2011 at 8:39 PM 
Following error occurs when trying this example:

"Failed to load data xml from /TimelineData.ashx?Dataid=4123ea6c-3c1b-482c-b8f6-24a9c2fe7465&type=rss
Not Found

Where does this "TimelineData.ashx" file come from? Not finding it anywhere in the source code...