New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Client-side Events

Event log

RadTimeline exposes the following client-side events:

  • OnInitialize—Fired just before the RadTimeline client-side object is initialized.
  • OnDataBound—Fired when the widget is bound to data from its data source.
  • OnLoad—Fired when RadTimeline is initialized.
  • OnExpand—Fired when an event is going to be expanded in vertical mode.
  • OnCollapse—Fired when an event is going to be collapsed in vertical mode.
  • OnChange—Fired when a new event is opened in horizontal mode.
  • OnActionClick—Fired when an action for an event is clicked.
  • OnNavigate—Fired when the left or right arrow is clicked, changing a range of events.
  • DefaultVB.aspx
  • scripts.js
  • styles.css
  • events-templates.json
<%@ Page Language="vb" AutoEventWireup="true"  %>

<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
    <script src="scripts.js"></script>
    <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"
                OnNavigate="OnNavigate" />
                <div class="k-card-header">
                    <h5 class="k-card-title">#= data.title #</h5>
                    <h6 class="k-card-subtitle"><strong>#= kendo.toString(, "MMM d, yyyy")#</strong></h6>
                <div class="k-card-body">
                    <div class="k-card-description">
                        <p>#= data.description #</p>
                <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>
                    <Select Url="events-templates.json" DataType="JSON" />
                        <telerik:ClientDataSourceModelField DataType="Date" FieldName="date" />
                    <telerik:ClientDataSourceSortExpression FieldName="date" SortOrder="Asc" />
    <qsf:EventLogConsole runat="server" ID="EventLogConsole1" AllowClear="true"></qsf:EventLogConsole>


Support & Learning Resources

Find Assistance