Welcome
|
ASP.NET
|
Web Services
|
How Do I...?
|
Class Browser
| I want my samples in...
C#
VB
C++
J#
ASP.NET Quickstart Tutorials
HTML Controls
HtmlAnchor
HtmlButton
HtmlForm
HtmlGeneric
HtmlImage
HtmlInputButton
HtmlInputCheckBox
HtmlInputFile
HtmlInputHidden
HtmlInputImage
HtmlInputRadioButton
HtmlInputText
HtmlSelect
HtmlTable
HtmlTextArea
dd
Back to ASP.NET Home
HtmlInputRadioButton
An
HtmlInputRadioButton
control creates a single radio button input field. Setting the
Name
attribute the same way on each radio button forms a group in which only one radio button can be selected at a time. The selected state must be tested on the individual radio buttons, however.
The following sample illustrates using the
HtmlInputRadioButton
control.
VB HtmlInputRadioButton1.aspx