Gets or sets the zero-based index of the currently selected item in a BulletedList control.
Assembly: System.Web (in System.Web.dll)
In the base class, ListControl, the SelectedIndex property returns a zero-based index of the currently selected item. The default is -1, which indicates that nothing is selected. The property is not applicable to the BulletedList control.
Note When you use the get accessor for the property, it always returns -1. An attempt to use the set accessor for the property raises a NotSupportedException.
This property is not bindable in visual designers, but is bindable at runtime. For more information, see BindableAttribute.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.