New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnClientCheckedChanged

Updated on Aug 24, 2026

The checkedChanged event is subsequent to the checkedChanging event, and occurs when the RadSwitch checked state is changed.

The event handler receives two parameters:

  1. The instance of the clicked RadSwitch control.

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

    • get_checked() - returns the checked state of the control.

    • get_domEvent() - returns the DOM event of the control.

    • get_commandName() - returns the value assigned to the RadSwitch's CommandName property.

    • get_commandArgument() - returns the value assigned to the RadSwitch's CommandArgument property.

This event is useful when the user wants to execute custom client code when the button changes its toggle state.

Example 1: Using the OnClientCheckedChanged event to get the checked state of the switch.

ASP.NET
<script type="text/javascript">
    function checkedChanged(sender, args) {
        alert(args.get_checked());
    }
</script>

<telerik:RadSwitch ID="RadSwitch1" runat="server"
    AutoPostBack="false" OnClientCheckedChanged="CheckedChanged">
</telerik:RadSwitch>

See Also

In this article
See Also
Not finding the help you need?
Contact Support