Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET SelectedIndex Property

ASP.NET SelectedIndex Property


ListControl Control Reference Manual ListControl control reference manual


Definition and Usage

The SelectedIndex property represents the ordinal index of the selected item in the list.


Example

The following example gets the index of a ListItem in a RadioButtonList control:

runat="server" OnSelectedIndexChanged="Change">

  

  

Demo Example »


ListControl Control Reference Manual ListControl control reference manual