JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the HtmlInputRadioButton Class

This class gives you access to HTML <input type= "radio"> elements in server code. Here is the inheritance hierarchy for this class:

Object
   Control
      HtmlControl
         HtmlInputControl
            HtmlInputRadioButton

You can find the notable public properties of HtmlInputRadioButton objects in Table 19.24 and their notable events in Table 19.25. (This class has no non-inherited methods.) Note that as with other HTML server controls, I am not listing the notable properties, methods, and events this class inherits from the Control class; you can find them in Tables 15.1 to 15.3, Chapter 15. This class also inherits the HtmlControl class-you can find that class in Table 19.2-and the HtmlInputControl class, which you can find in Table 19.4.

Table 19.24: Noteworthy public properties of HtmlInputRadioButton objects.

Property

Means

Checked

Gets/sets whether the radio button is selected.

Table 19.25: Noteworthy public events of HtmlInputRadioButton objects.

Event

Means

ServerChange

Occurs when the checkbox changes state from a previous post.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor