01 | <%@ Page Language="C#" %> |
02 | < script language = "C#" runat = "server" > |
03 | protected void SubmitBtn_Click( object sender, EventArgs e ) { |
05 | Label1.Text = "You selected " + Radio1.Text; |
06 | else if ( Radio2.Checked ) |
07 | Label1.Text = "You selected " + Radio2.Text; |
08 | else if ( Radio3.Checked ) |
09 | Label1.Text = "You selected " + Radio3.Text; |
16 | Select the type of installation you wish to perform: |
17 | < asp:RadioButton id = "Radio1" Text = "Typical" Checked = "True" |
18 | GroupName = "RadioGroup1" runat = "server" /> |
19 | This option ... Requires 1.2 MB disk space. |
20 | < asp:RadioButton id = "Radio2" Text = "Compact" |
21 | GroupName = "RadioGroup1" runat = "server" /> |
22 | This option ... Requires 350 KB disk space. |
23 | < asp:RadioButton id = "Radio3" runat = "server" Text = "Full" |
24 | GroupName = "RadioGroup1" /> |
25 | This option ... Requires 4.3 MB disk space. |
26 | < asp:button text = "Submit" OnClick = "SubmitBtn_Click" runat = "server" /> |
27 | < asp:Label id = "Label1" font-bold = "true" runat = "server" /> |
|
|
|