ListControl.SelectedItem Property
.NET Framework 3.0
Gets the selected item with the lowest index in the list control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public ListItem get_SelectedItem ()
public function get SelectedItem () : ListItem
Not applicable.
Property Value
A ListItem that represents the lowest indexed item selected from the list control. The default is a null reference (Nothing in Visual Basic).The following example demonstrates how to use SelectedItem to get the individual properties of the currently selected item in the RadioButtonList and to display that item and its value.
Community Additions
ADD
Show: