System.Web.UI.WebControls.ListControl.SelectedIndexChanged Event

Occurs when the selection from the list control changes between posts to the server.

Syntax

public event EventHandler SelectedIndexChanged

Remarks

The ListControl.SelectedIndexChanged event is raised when the selection from the list control changes between posts to the server.

Note:

A list control must persist some values between posts to the server for this event to work correctly. Be sure that view state is enabled for the list control.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0