This documentation is archived and is not being maintained.
ListView Events
Visual Studio 2008
The ListView type exposes the following members.
| Name | Description | |
|---|---|---|
|
DataBinding | Occurs when the server control binds to a data source. (Inherited from Control.) |
|
DataBound | Occurs after the server control binds to a data source. (Inherited from BaseDataBoundControl.) |
|
Disposed | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.) |
|
Init | Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.) |
|
ItemCanceling | Occurs when a cancel operation is requested, but before the ListView control cancels the insert or edit operation. |
|
ItemCommand | Occurs when a button in a ListView control is clicked. |
|
ItemCreated | Occurs when an item is created in a ListView control. |
|
ItemDataBound | Occurs when a data item is bound to data in a ListView control. |
|
ItemDeleted | Occurs when a delete operation is requested, after the ListView control deletes the item. |
|
ItemDeleting | Occurs when a delete operation is requested, but before the ListView control deletes the item. |
|
ItemEditing | Occurs when an edit operation is requested, but before the ListView item is put in edit mode. |
|
ItemInserted | Occurs when an insert operation is requested, after the ListView control has inserted the item in the data source. |
|
ItemInserting | Occurs when an insert operation is requested, but before the ListView control performs the insert. |
|
ItemUpdated | Occurs when an update operation is requested, after the ListView control updates the item. |
|
ItemUpdating | Occurs when an update operation is requested, but before the ListView control updates the item. |
|
LayoutCreated | Occurs when the LayoutTemplate template is created in a ListView control. |
|
Load | Occurs when the server control is loaded into the Page object. (Inherited from Control.) |
|
PagePropertiesChanged | Occurs when the page properties change, after the ListView control sets the new values. |
|
PagePropertiesChanging | Occurs when the page properties change, but before the ListView control sets the new values. |
|
PreRender | Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.) |
|
SelectedIndexChanged | Occurs when an item's Select button is clicked, after the ListView control handles the select operation. |
|
SelectedIndexChanging | Occurs when an item's Select button is clicked, but before the ListView control handles the select operation. |
|
Sorted | Occurs when a sort operation is requested, after the ListView control handles the sort operation. |
|
Sorting | Occurs when a sort operation is requested, but before the ListView control handles the sort operation. |
|
Unload | Occurs when the server control is unloaded from memory. (Inherited from Control.) |
| Name | Description | |
|---|---|---|
|
IPageableItemContainer::TotalRowCountAvailable | Infrastructure. For a description of this member, see IPageableItemContainer::TotalRowCountAvailable. |
Show: