- Name Radio
- CSS Class CC_Radio
- Type bool
The Radio represents an input[type:radio] and they are grouped by their
Group property. The RadioGroup control
allows you to assign a text value depending on the radio that is checked in
that group, all you have to do is create one with the same ID as each
radio's Group property. You do not have to use a RadioGroup control to
use radios and can rely only on their Group setting but you will then have
to iterate each to determine which is checked.
| Qualifiers |
Type |
Name |
Default |
Description |
|
string |
id |
"" |
Unique identifier within the page for the Radio |
|
string |
Group |
"" |
Multiple Radio buttons with the same Group setting will only allow one of those to be checked at once. |
|
string |
Text |
"" |
Text value which is passed up to the parent RadioGroup (if one exists having an ID which matches the Group setting) when this Radio is Checked. |
|
bool |
Enabled |
true |
Wether or not the Radio is enabled within the page, directly mapped onto the HTML input disabled property. |
|
bool |
Visible |
true |
Wether or not the button is rendered into the page's HTML. |
|
bool |
Checked |
false |
Wether or not the Radio is checked. |
This shows three radio buttons without a RadioGroup
ASPX
C#
This shows three radio buttons with a RadioGroup
ASPX
C#