Edit this page

OnLoad

The load event occurs when the RadCheckBoxList client-side object is instantiated on the page.

The event handler receives two parameters:

  1. The instance of the loaded RadCheckBoxList control.

  2. An empty event args.

This event comes handy in scenarios when the user wants to operate with the control's client-side API and events at the earliest available stage.

Example 1: Handling RadCheckBoxList OnClientLoad event.

<script type="text/javascript">
    function clientLoad(sender, args) {
        alert('RadCheckBoxList Object Loaded');
    }
</script>

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

See Also