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

Events

The ButtonGroup exposes a Select() event that you can handle.

For a complete example on basic ButtonGroup events, refer to the demo on using the events of the ButtonGroup.

    @using Kendo.Mvc.UI

        @(Html.Kendo().ButtonGroup()
        .Name("player")
        .Items(t =>
        {
            t.Add().Text("Month");
            t.Add().Text("Quarter");
            t.Add().Text("Year");
        })
        .Events(ev => ev.Select("onSelect"))
        )

    <script>
        function onSelect(e) {
            console.log("selected index:" + e.indices);
        }
    </script>
    @addTagHelper *, Kendo.Mvc

        <kendo-buttongroup name="player"
                        on-select="onSelect">
            <buttongroup-items>
                <item text="Month"></item>
                <item text="Quarter"></item>
                <item text="Year"></item>
            </buttongroup-items>
        </kendo-buttongroup>

    <script>
        function onSelect(e) {
            console.log("selected index:" + e.indices);
        }
    </script>

Next Steps

See Also

In this article