The ListControl.SelectedIndexChanged event is raised when the selection from the list control changes between posts to the server.
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.