New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientDropDownOpened
As of Q1 SP2, the RadComboBox exposes a new client-side event - OnClientDropDownOpened.
The OnClientDropDownOpened client-side event occurs after the drop-down list has been opened.
The event handler receives two parameters:
-
The instance of the combobox firing the event.
-
An eventArgs parameter containing the following method:
- get_domEvent() returns the DOM event object of the drop-down opened.
You can use this event to perform any client-side actions when the drop-down is completely opened:
ASPNET
<script type="text/javascript">
function OnClientDropDownOpenedHandler(sender, eventArgs) {
alert("The dropdown is opened now");
}
</script>
<telerik:radcombobox
id="RadComboBox1"
onclientdropdownopened="OnClientDropDownOpenedHandler"
runat="server">
</telerik:radcombobox>