PowerWEB LiveControls for ASP.NET
SelectedIndexChanged Event
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveCheckBoxList Class : SelectedIndexChanged Event



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

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Action")>
<DescriptionAttribute("Fires when the selected index has been changed.")>
Public Shadows Event SelectedIndexChanged As EventHandler
Visual Basic (Usage)Copy Code
Dim instance As LiveCheckBoxList
Dim handler As EventHandler
 
AddHandler instance.SelectedIndexChanged, handler
C# 
[CategoryAttribute("Action")]
[DescriptionAttribute("Fires when the selected index has been changed.")]
public new event EventHandler SelectedIndexChanged
C++/CLI 
[CategoryAttribute("Action")]
[DescriptionAttribute("Fires when the selected index has been changed.")]
public:
new event EventHandler^ SelectedIndexChanged

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.