OnClientLoad
The load event occurs when the RadToggleButton client-side object is instantiated on the page.
The event handler receives two parameters:
The instance of the loaded RadToggleButton 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.
<script type="text/javascript">
function clientLoad(sender, args) {
alert('RadToggleButton Object Loaded');
}
</script>
<telerik:RadToggleButton ID="RadToggleButton1" runat="server" OnClientLoad="clientLoad">
<ToggleStates>
<telerik:ButtonToggleState Text="State 1" />
<telerik:ButtonToggleState Text="State 2" />
</ToggleStates>
</telerik:RadToggleButton>