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

ButtonGroupEventBuilder

Methods

Select(System.String)

Fires when a Button is selected.

For more information see Select event.

Parameters

handler - System.String

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

Example


            @(Html.Kendo().ButtonGroup()
                   .Name("select-period")
                   .Events(e => e.Select("onSelect"))
            )

Select(System.Func)

Fires when a Button is selected.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


            @(Html.Kendo().ButtonGroup()
                   .Name("select-period")
                   .Events(e => e.Select(
                                      @<text>
                                         function(e){
                                              event handling code
                                          }
                                      </text>
                              ))
            )

In this article
Not finding the help you need?