Gets or sets the index of the item being edited.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Theproperty is set to a value less than -1.
You can use the ListView control to edit. When this property is set to the index of an item in the control, that item is displayed in edit mode. In edit mode, the item is rendered by using the EditItemTemplate template instead of the ItemTemplate template. You can populate the EditItemTemplate with data-bound controls to enable users to modify values for the item. To switch from edit mode to display mode, set this property to -1.property to programmatically specify or determine which item in a
The ListView control. The ListView control has a built-in editing feature that automatically puts an item in edit mode if you add a button to the item template whose CommandName property is set to Edit.property is typically used when you have to programmatically determine which item is being edited, or when you are adding custom editing functionality to the
Available since 3.5