OnClientDeleted | RadListBox for ASP.NET AJAX Documentation
Edit this page

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:

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

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