Edit this page

OnItemClicked

The itemClicked event occurs when item in RadRadioButtonList is clicked. The event is subsequent to itemClicking event and is fired after the client-side validation.

The event handler receives two parameters:

  1. The instance of the loaded RadRadioButtonList control.

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

Example 1: Handling RadRadioButtonList OnItemClicking event.

<script type="text/javascript">
    function OnItemClicking(sender, args) {
        var selectedLanguage = args.get_item().get_text();
        alert("You clicked on " + selectedLanguage + " language!");
    }
</script>

<telerik:RadRadioButtonList runat="server" ID="RadRadioButtonList1">
    <ClientEvents OnItemClicking="OnItemClicking" />
    <Items>
        <telerik:RadioButtonListItem Text="English" Selected="true" />
        <telerik:RadioButtonListItem Text="German" />
        <telerik:RadioButtonListItem Text="French" />
    </Items>
</telerik:RadRadioButtonList>

See Also