Edit this page

OnItemLoad

The itemLoad event occurs when item is loaded 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.ButtonListEventArgs, containing the following properties and methods:

Example 1: Handling RadCheckBoxList OnItemLoad event.

<script type="text/javascript">
    function OnItemLoad(sender, args) {
        alert(args.get_item().get_text() + " item loaded!");
    }
</script>

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

See Also