- Online Barcode Generator
- How To
- Buy Now
Apart from the variety of client side events that we have introduced in the other user manual, Kettic ListBox UI DLL component for ASP.NET AJAX also provide a number of commonly used server side events to help you manage and control the listbox as well as its items. With these APIs demonstrated here, users will find it has never been so easy to respond to server actions.
Supported ListBox Server Side Events
Inserting: Developers can use this server side event to easily insert a single item or multiple ones. It is fired right before the items are added.
Inserted: This server side event is fired right after the inserting event, if it has not been cancelled in time.
Reordering: This server side event is fired when developers tries to rearrange the order of listbox items. You can select a few target items first before you fire this event.
Reordered: This server side event is fired once you have reordering event is finished with your listbox items. When done, this will update the listbox items to demonstrated items with the newly arranged order.
Transferring: This server side event is fired when you are trying to transfer a single item or batches of items from a listbox. You need to select target item / items first before you proceed with this event.
Transferred: This event is fired after you have successfully transferred an item or batches of it to somewhere else, and have deleted the items in previous place.
Updated: As you can tell from the name, this server side event fires after the updating event is processed, if it is not cancelled beforehand. When this event is fired, the listbox item will be rearranged in accord with the latest user customization.
Updating: This server side event is fired when a UI developer intends to reorder / sort out the order for listbox items. This event fires right after the reordering event if it is not cancelled later on.
Deleting: Users can use this server side event for two scenarios. The first one is when you have started an item transferring event, and you can fire this deleting event to cancel that so you won't receive the listbox with updated item order. Another case is when you intend to get rid of a single item or batches of it from a listbox you can simply fire this event to delete directly.
Deleted: This server side event is fired right after the deleting event, if it has not been cancelled immediately. Similar to the deleting event, this deleted event can also be used in two situations: to cancel a transferring event which is about to be processed, and to directly delete a single or multiple item / items.
ASPX Sample for ListBox Server Side Events
<kettic:PerListBox runat="server" ID="PerListBox1" AutoPostBack="True" Width="200px"
ASP.NET AJAX UI Controls