Occurs when the selection from the list control changes between posts to the server.
[Visual Basic] Public Event SelectedIndexChanged As EventHandler [C#] public event EventHandler SelectedIndexChanged; [C++] public: __event EventHandler* SelectedIndexChanged;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
The event handler receives an argument of type EventArgs.
The 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.
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family