Edit this page


The selectedIndexChanged event occurs when user changes the checked stated of an item in RadCheckBoxList.

The event handler receives two parameters:

  1. The instance of the loaded RadCheckBoxList control.

  2. An eventArgs parameter of type Telerik.Web.UI.CheckBoxListSelectedIndexChangedEventArgs, containing the following properties and methods:

    • get_newSelectedIndex() - returns the index of the currently selected item.

Example 1: Handling RadCheckBoxList OnSelectedIndexChanged event.

<script type="text/javascript">
    function OnSelectedIndexChanged(sender, args) {
        var selectedItem = sender.get_items()[args.get_newSelectedIndex()];
        alert("Checked state changed for " + newItem.get_text() + " language.");

<telerik:RadCheckBoxList runat="server" ID="RadCheckBoxList1">
    <ClientEvents OnSelectedIndexChanged="OnSelectedIndexChanged" />
        <telerik:ButtonListItem Text="English" Selected="true" />
        <telerik:ButtonListItem Text="German" />
        <telerik:ButtonListItem Text="French" />

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article