OnItemClicked | RadCheckBoxList for ASP.NET AJAX Documentation
Edit this page

OnItemClicked

The itemClicked event occurs when item in RadCheckBoxList 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 RadCheckBoxList control.

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

Example 1: Handling RadCheckBoxList OnItemClicking event.

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

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

See Also

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

Give article feedback

Tell us how we can improve this article

close
Dummy