New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnLoad
The load event occurs when the RadRadioButtonList client-side object is instantiated on the page.
The event handler receives two parameters:
-
The instance of the loaded RadRadioButtonList control.
-
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 RadRadioButtonList OnClientLoad event.
ASP.NET
<script type="text/javascript">
function clientLoad(sender, args) {
alert('RadRadioButtonList Object Loaded');
}
</script>
<telerik:RadRadioButtonList runat="server" ID="RadRadioButtonList1">
<ClientEvents OnLoad="OnLoad" />
<Items>
<telerik:RadioButtonListItem Text="English" Selected="true" />
<telerik:RadioButtonListItem Text="German" />
<telerik:RadioButtonListItem Text="French" />
</Items>
</telerik:RadRadioButtonList>