The OnClientItemsRequested client-side event occurs after the load-on-demand mechanism has added new items to the listbox.

The event handler receives the following parameter:

  1. The instance of the listbox firing the event.
<script type="text/javascript">
    function OnClientItemsRequested(sender, eventArgs) {
        alert("There are " + sender.get_items().get_count() + " items.");

See Also

In this article
Not finding the help you need? Improve this article