# OnClientDeleted

The **OnClientDeleted** Client-side event occurs after the item or items have been deleted.

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_items()** - returns an array of the deleted items

* **get_item()** - returns the item that was deleted

* **get_domEvent()** - returns the DOM event object

The example below shows how to alert the user that the item was successfully deleted:

```JavaScript
function onClientDeletedHandler(sender, e) {
	alert("Successfully deleted: " + e.get_item().get_text());
}				
```

## See Also

* [OnClientDeleting](https://www.telerik.com/products/aspnet-ajax/documentation/controls/listbox/client-side-programming/events/onclientdeleting)
