<%@ Page Language="c#" AutoEventWireup="true" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
<link href="styles.css" rel="stylesheet" />
<script src="scripts.js"></script>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<div class="demo-container" runat="server">
<telerik:RadTimeline ID="RadTimeline1" runat="server" Orientation="Horizontal" EventHeight="300">
<ClientEvents OnInitialize="OnInitialize" OnLoad="OnLoad"
OnDataBound="OnDataBound"
OnActionClick="OnActionClick"
OnNavigate="OnNavigate" />
<EventTemplate>
<div class="k-card-header">
<h5 class="k-card-title">#= data.title #</h5>
<h6 class="k-card-subtitle"><strong>#= kendo.toString(data.date, "MMM d, yyyy")#</strong></h6>
</div>
<div class="k-card-body">
<div class="k-card-description">
<p>#= data.description #</p>
</div>
</div>
<div class="k-card-actions">
<a class="k-button k-flat k-primary" href="#= data.actions[0].url #" target="_blank">#= data.actions[0].text #</a>
</div>
</EventTemplate>
<WebServiceClientDataSource>
<WebServiceSettings>
<Select Url="events-templates.json" DataType="JSON" />
</WebServiceSettings>
<Schema>
<Model>
<telerik:ClientDataSourceModelField DataType="Date" FieldName="date" />
</Model>
</Schema>
<SortExpressions>
<telerik:ClientDataSourceSortExpression FieldName="date" SortOrder="Asc" />
</SortExpressions>
</WebServiceClientDataSource>
</telerik:RadTimeline>
</div>
<qsf:EventLogConsole runat="server" ID="EventLogConsole1" AllowClear="true"></qsf:EventLogConsole>
</form>
</body>
</html>