Edit this page

OnClientDropDownOpened

The OnClientDropDownOpened client-side event occurs immediately after the drop-down container is opened.

The event handler receives two parameters:

  1. The instance of RadAutoCompleteBox firing the event.

  2. An eventArgs parameter which does not have methods.

This event is used in scenarios when operations need to be performed to RadAutoCompleteBox right after the drop-down container is opened.

<script type="text/javascript">
    function dropDownOpened(sender, eventArgs) {
        alert("The drop-down container has been opened.");
    }
</script>
<telerik:RadAutoCompleteBox RenderMode="Lightweight" runat="server" ID="RadAutoCompleteBox1" OnClientDropDownOpened="dropDownOpened"
    DataSourceID="SqlDataSource1" DataTextField="Name" DataValueField="ID">
</telerik:RadAutoCompleteBox>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TelerikVSXConnectionString %>"
    SelectCommand="SELECT [ID], [CountryID], [Name] FROM [Cities]"></asp:SqlDataSource>

See Also

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

Give article feedback

Tell us how we can improve this article

close
Dummy