Easy Tutorial
❮ Prop Webcontrol Linkbutton Postbackurl Prop Webcontrol Listcontrol Items ❯

ASP.NET SelectedIndex Property



Definition and Usage

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


Example

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


❮ Prop Webcontrol Linkbutton Postbackurl Prop Webcontrol Listcontrol Items ❯