Export (0) Print
Expand All
Expand Minimize

ListView.SelectItem Method

Selects the item that is in edit mode in a ListView control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public void SelectItem(
	int rowIndex
)

Parameters

rowIndex
Type: System.Int32

The index of the item that is in edit mode.

ExceptionCondition
InvalidOperationException

The item index is negative.

This method raises the SelectedIndexChanged event.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft