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

TimelineEventBuilder

Methods

Change(System.String)

Fires when a new event is opened.

For more information see Change event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the change event.

Example


                @(Html.Kendo().Timeline<Event>()
                    .Name("timeline")
                    .Events(events =>events
                         .Change("onChange")
                    )
                )

DataBound(System.String)

Fires when the Timeline is bound to data.

For more information see DataBound event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dataBound event.

Example


                @(Html.Kendo().Timeline<Event>()
                    .Name("timeline")
                    .Events(events =>events
                         .DataBound("onDataBound")
                    )
                )

Expand(System.String)

Fires when an event is going to be expanded.

For more information see Expand event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the expand event.

Example


                @(Html.Kendo().Timeline<Event>()
                    .Name("timeline")
                    .Events(events =>events
                         .Expand("onExpand")
                    )
                )

Collapse(System.String)

Fires when an event is going to be collapsed.

For more information see Collapse event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the collapse event.

Example


                @(Html.Kendo().Timeline<Event>()
                    .Name("timeline")
                    .Events(events =>events
                         .Collapse("onCollapse")
                    )
                )

ActionClick(System.String)

Fires when an action for an event is clicked.

For more information see ActionClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the actionClick event.

Example


                @(Html.Kendo().Timeline<Event>()
                    .Name("timeline")
                    .Events(events =>events
                         .ActionClick("onActionClick")
                    )
                )

Fires when the left or right arrow is clicked.

For more information see Navigate event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the navigate event.

Example


                @(Html.Kendo().Timeline<Event>()
                    .Name("timeline")
                    .Events(events =>events
                         .Navigate("onNavigate")
                    )
                )

In this article
Not finding the help you need?