JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the HtmlInputButton Class

This class gives you access to HTML <input type= "button">, <input type= "submit">, and <input type= "reset"> in server code. Here is the inheritance hierarchy for this class:

Object
   Control
      HtmlControl
         HtmlInputControl
            HtmlInputButton

You can find the notable public properties of HtmlInputButton objects in Table 19.14 and their notable events in Table 19.15. (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.14: Noteworthy public properties of HtmlInputButton objects.

Property

Means

CausesValidation

Gets/sets whether this button performs validation.

Table 19.15: Noteworthy public events of HtmlInputButton objects.

Event

Means

ServerClick

Occurs when an input button is clicked. Handle this event on the server.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor