Events of ListView Control In ASP.NET

1.ItemCanceling:-
 Occurs when a cancel operation is requested, but before the ListView control cancels the insert or edit  operation.
2.ItemCommand:-
  Occurs when a button in a ListView control is clicked.

3.ItemCreated:-
  Occurs when an item is created in a ListView control.
4.ItemDataBound:-
  Occurs when a data item is bound to data in a ListView control.
5.ItemDeleted:-
 Occurs when a delete operation is requested, after the ListView control deletes the item.
6.ItemDeleting:-
 Occurs when a delete operation is requested, but before the ListView control deletes the item.
7.ItemEditing :-
 Occurs when an edit operation is requested, but before the ListView item is put in edit mode.
8.ItemInserted :-
 Occurs when an insert operation is requested, after the ListView control has inserted the item in the data  source.
9.ItemInserting :-
 Occurs when an insert operation is requested, but before the ListView control performs the insert.
10.ItemUpdated :-
 Occurs when an update operation is requested, after the ListView control updates the item.
11.ItemUpdating :-
 Occurs when an update operation is requested, but before the ListView control updates the item.
12.LayoutCreated :-
 Occurs when the LayoutTemplate template is created in a ListView control.
13.SelectedIndexChanged :-
 Occurs when an item's Select button is clicked, after the ListView control handles the select operation.

No comments:

Post a Comment