JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the HtmlInputCheckbox Class

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

Object
   Control
      HtmlControl
         HtmlInputControl
            HtmlInputCheckBox

You can find the notable public properties of HtmlInputCheckbox objects in Table 19.22 and their notable events in Table 19.23. (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 Chapter 15, Tables 15.1 to 15.3. 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.22: Noteworthy public properties of HtmlInputCheckbox objects.

Property

Means

Checked

Gets/sets whether the checkbox is checked.

Table 19.23: Noteworthy public events of HtmlInputCheckbox 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