The OnClientItemChecked client-side event occurs after the item has been checked.

The event handler receives two parameters:

  1. The instance of the listbox firing the event

  2. An event arguments parameter containing the following methods:

  • get_item() - returns the checked item

  • get_domEvent() - returns the DOM event object

The following example shows how to select/unselect the item upon checking/unchecking:

function OnClientItemCheckedHandler(sender, eventArgs) {
    var item = eventArgs.get_item();

See Also

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