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

TabStripEventBuilder

Methods

Show(System.Func)

Defines the inline handler of the Show client-side event.

For more information see Show event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


             @( Html.Kendo().TabStrip()
                       .Name("TabStrip")
                       .Events(events => events.Show(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .Render();
            )

Show(System.String)

Defines the name of the JavaScript function that will handle the the Show client-side event.

For more information see Show event.

Parameters

handler - System.String

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

Example


             @( Html.Kendo().TabStrip()
                        .Name("TabStrip")
                        .Events(events => events.Show("onActivate"))
            )

Activate(System.Func)

Defines the inline handler of the Activate client-side event.

For more information see Activate event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


             @( Html.Kendo().TabStrip()
                       .Name("TabStrip")
                       .Events(events => events.Activate(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .Render();
            )

Activate(System.String)

Defines the name of the JavaScript function that will handle the the Activate client-side event.

For more information see Activate event.

Parameters

handler - System.String

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

Example


             @( Html.Kendo().TabStrip()
                        .Name("TabStrip")
                        .Events(events => events.Activate("onActivate"))
            )

Select(System.Func)

Defines the inline handler of the Select client-side event.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


             @( Html.Kendo().TabStrip()
                       .Name("TabStrip")
                       .Events(events => events.Select(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .Render();
            )

Select(System.String)

Defines the name of the JavaScript function that will handle the the Select client-side event.

For more information see Select event.

Parameters

handler - System.String

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

Example


             @( Html.Kendo().TabStrip()
                        .Name("TabStrip")
                        .Events(events => events.Select("onSelect"))
            )

ContentLoad(System.Func)

Defines the inline handler of the ContentLoad client-side event.

For more information see ContentLoad event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


             @( Html.Kendo().TabStrip()
                       .Name("TabStrip")
                       .Events(events => events.ContentLoad(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .Render();
            )

ContentLoad(System.String)

Defines the name of the JavaScript function that will handle the the ContentLoad client-side event.

For more information see ContentLoad event.

Parameters

handler - System.String

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

Example


             @( Html.Kendo().TabStrip()
                        .Name("TabStrip")
                        .Events(events => events.ContentLoad("onContentLoad"))
            )

Error(System.Func)

Defines the inline handler of the Error client-side event.

For more information see Error event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


             @( Html.Kendo().TabStrip()
                       .Name("TabStrip")
                       .Events(events => events.Error(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .Render();
            )

Error(System.String)

Defines the name of the JavaScript function that will handle the the Error client-side event.

For more information see Error event.

Parameters

handler - System.String

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

Example


             @( Html.Kendo().TabStrip()
                        .Name("TabStrip")
                        .Events(events => events.Error("onError"))
            )

In this article
Not finding the help you need?