OnClientLoad | RadComboBox for ASP.NET AJAX Documentation
Edit this page

OnClientLoad

The OnClientLoad client-side event occurs after the combobox has been fully initialized on the client-side.

The event handler receives one parameter:

  1. The combobox instance firing the event.

This event is helpful if you need to get the client-side instance of the combobox when it is embedded in other controls. Hook the OnClientLoad event and get the client-side instance of the combobox as demonstrated in the example below. This technique can be used to retrieve the combo instance for use elsewhere.



function OnClientLoadHandler(sender)   {
    var combo;
    combo=sender;
}

<telerik:RadComboBox RenderMode="Lightweight" 
    ID="RadComboBox1" 
    runat="server" 
    OnClientLoad="OnClientLoadHandler" .../>

caution

This technique may not work when AJAX is used. The asynchronous requests may interfere with the OnClientLoad event.

This event cannot be cancelled.

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

Give article feedback

Tell us how we can improve this article

close
Dummy