Group of Radio Buttons
Property | Description |
---|---|
Items | Represents the collection of items in the list. |
TextAlign | Determines how text label is aligned relative to radio button. Possible values are Left, and Right (default). |
AutoPostBack | If True, the form is automatically posted when a new radio button is selected from the list. |
SelectedItem | Represents the selected radio button. |
SelectedIndex | Specifies the index number of currently checked radio button. |
RepeatColumns | Determines the number of columns sued to display radio buttons. |
RepeatDirection | Indicates the direction in which radio buttons must be repeated. Can be Horizontal, or Vertical. |
RepeatLayout | Determines how radio buttons are formatted. Can be Table (default), or Flow. |
DataSource | Identifies the data source for the items listed in the list. |
DataMember | Identifies the particular table in a data source to bind to the control. |
DataTextField | Identifies the field from the data source to use for radio button labels. |
DataValueField | Identifies the field from the data source to use for radio button values. |
DataTextFormatString | Gets or sets a format string that determines how DataTextField is displayed. |
CellPadding | Sets number of pixels between the border and a particular radio button. |
CellSpacing | Sets number of pixels between radio buttons in the list. |
Methods | Description |
DataBind | Binds the list to data source. Loads items from data source into the items collection. |
OnSelectedIndexChanged | Raises the SelectedIndexChanged event. |
Events | Description |
SelectedIndexChanged | Raised when a new radio button is selected in the list. |