<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>RadioButton Controls Sample Page</TITLE>
</HEAD>
<BODY>
<form runat="server">
<Font Face="Tahoma" Size="+1">
<asp:Label
id="lblMessage"
Font-Size="12pt"
Font-Bold="True"
Font-Name="Lucida Console"
Text="What is your favorite color?"
runat="server"
/>
<BR><BR>
<asp:RadioButton
id="rdoColorRed"
Text="Red"
Font-Size="12pt"
Font-Name="Comic Sans MS"
GroupName="rgColor"
Checked="True"
runat="server"
/>
<asp:RadioButton
id="rdoColorBlue"
Text="Blue"
Font-Size="12pt"
Font-Name="Comic Sans MS"
GroupName="rgColor"
runat="server"
/>
<asp:RadioButton
id="rdoColorGreen"
Text="Green"
Font-Size="12pt"
Font-Name="Comic Sans MS"
GroupName="rgColor"
runat="server"
/>
<BR><BR>
<asp:Label
id="lblMessage2"
Font-Size="12pt"
Font-Bold="True"
Font-Name="Lucida Console"
Text="What is your favorite day?"
runat="server"
/>
<BR><BR>
<asp:RadioButton
id="rdoDayMonday"
Text="Monday"
TextAlign="Left"
Font-Size="12pt"
Font-Name="Comic Sans MS"
GroupName="rgDay"
Checked="True"
runat="server"
/>
<asp:RadioButton
id="rdoDayTuesday"
Text="Tuesday"
TextAlign="Left"
Font-Size="12pt"
Font-Name="Comic Sans MS"
GroupName="rgDay"
runat="server"
/>
<asp:RadioButton
id="rdoDayWednesday"
Text="Wednesday"
TextAlign="Left"
Font-Size="12pt"
Font-Name="Comic Sans MS"
GroupName="rgDay"
runat="server"
/>
</Font>
</Form>
</BODY>
</HTML>
|