![]() ![]() | ||
This class gives you access to HTML <input type= "image"> elements in server code. Here is the inheritance hierarchy of this class:
Object Control HtmlControl HtmlInputControl HtmlInputImage
You can find the notable public properties of HtmlInputImage objects in Table 19.16 and their notable events in Table 19.17. (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, which you can find in Table 19.4.
Property |
Means |
---|---|
Align |
Gets/sets the input image's alignment with respect to the other HTML elements. |
Alt |
Gets/sets the input image's alternative text displayed if the image cannot be displayed. |
Border |
Gets/sets the input image's border width. |
CausesValidation |
Gets/sets whether this input image performs validation. |
Src |
Gets/sets the URL of the image. |
Event |
Means |
---|---|
ServerClick |
Occurs when the user clicks an input image control. Handle this event on the server. |
![]() ![]() | ||