More Standard Controls
HyperLink
The HyperLink control simply places a link in the browser, similarly to the HTML anchor element <a>. Its action triggers the request of another page. The requested page is defined by the control property NavigateUrl. The text link displayed by the hyperlink is defined by the Text property, similarly to the TextBox control.
RadioButton
A RadioButton allows the selection of one item from a list of many. It derives from the CheckBox class and it is used to select a Boolean data, like True/False.
The following example shows you how to control an event by checking a radio button. The event is the changing of a label text from ??? to “You did it!”
Click on the figure to see the demo.
To create this demo drag on the Default.aspx page two Labels and a RadioButton. Place the first label on the top of the page and change its text to “Do you want to check the button?
The radio button is placed next. Change its text property to whatever you want. Make sure its AutoPostBack property is set to True.
The second label is placed underneath the radio button. Change its text property to “???” or anything else.
Double click the RadioButton control. The Default.aspx.cs page appears. Inside the RadioButton block type the following conditional statement.

Then click on File > Save All and build it.
Radio Button Lists
Groups of RadioButtons are supposed to be mutually exclusive. This means that only can be selected at a time. ASP.NET has made grouping RadioButtons easy through the use of the RadioButtonList Control. The control has a llist property that will allow you to add as many RadioButton items to the control as you need:

When you create a RadioButtonList it contains a collection of all of the RadiButtons that has been added. You can access each one of the items in the by it's index number. In the above example the 3 items were added to the RadioButtonList, they were "Yes", "No", "Maybe". These have index numbers 0,1,2 repectively. If you gave the RadioButtonList the Id of HappyButtons like in the example above you could then access each item as follows:
HappyButtons.Items[0].Text = "Hello"; //Change the text of the item
The following demo show how to use the RadioButtonList
Click on the figure to see the demo running.

Here is how to create this example:
After you write “Are you happy?”, drag three RadioButtons on your page. Also drag a Label Control under the buttons.
Change the Label text to “Click a button”.
Change the RadioButton1 text to “Yes”, RadioButton2 text to “No”, and RadioButton3 text to “Don’t know”. Each button GroupName property should be HappyButtons. Also, the AutoPostBack property should be True for each button. This will tell the buttons to report
Go to Default.aspx.cs and type the following code:

These are simple if and else if conditional statements which are used for choosing the right Label1 behavior.
CheckBox
The CheckBox control allows the selection of a Boolean data (True or False). The RadioButton control derives from this class. As in the case with radio buttons, several CheckBoxes are independent unless grouped together. If the CheckBoxes on your page are left independent you can select multiple options, they do not exclude each other.
In the following example you will see how three independent CheckBoxes can change the font of a label. Click on the following image to see the demo.

To build this application, drag the appropriate controls on your page. By now this should be easy for you. In Default.aspx.cs type the following code.

As you can see, CheckBox.Checked is a boolean variable, which is set to True or False depending on the box being checked or not. Therefore, it can be used in an if else conditional statement, as shown for CheckBox1 behavior. It can also be used to set the Label.Font.Bold (or Italic) to True or False, as shown for CheckBox2 and CheckBox3.
LinkButton
A LinkButton behaves like the standard button and appears to the user as a hyperlink. Although it looks like a hyperlink, it does not request another page. Its action posts back, like the standard button.
ImageButton
Like the LinkButton, the ImageButton behaves like the standard button, except that the user can specify an image bitmap to act as a button on the browser. As with any image in HTML there is an AlternateText attribute, which shows the text that should be displayed on nongraphical browsers.
Image and ImageMap
Both controls display an image. With their properties you can select the image URL and the height, width and alignment. As in HTML controls, the image control has an AlternateText attribute that you should always set so that there is something meaningful displayed in nongraphical browsers.
With ImageMap you can define hotspots by using the collection editor in the HotSpots property. This is helpful when you want the user to navigate to different other areas of your website depending on the image region he/she clicked on. This is a nice control. Do not overlook it, because you can creat elaborate navigational areas with an ImageMap.