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

Razor
 
            @(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

Razor
 
            @(Html.Kendo().ButtonGroup()
                   .Name("select-period")
                   .Events(e => e.Select(
                                      @<text>
                                         function(e){
                                              event handling code
                                          }
                                      </text>
                              ))
            )
             
In this article
MethodsSelect(System.String)Select(System.Func)
Not finding the help you need?
Contact Support