New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

OnClientItemsRequested

The OnClientItemsRequested client-side event occurs after the the portion of items is added to the RadDropDownList.

The event handler receives the following parameter:

  1. The instance of the RadDropDownList firing the event.
<telerik:RadDropDownList RenderMode="Lightweight" ID="RadDropDownList1" runat="server" EnableVirtualScrolling="true" DropDownHeight="150px" OnClientItemsRequested="OnClientItemsRequested">
    <WebServiceSettings Path="WebService.asmx" Method="GetCustomerNames" />
</telerik:RadDropDownList>
<script type="text/javascript">
    function OnClientItemsRequested(sender, eventArgs) {
        alert("There are " + sender.get_items().get_count() + " items.");
    }
</script>
In this article