HtmlInputImage Object— <input type=“image”> Element

This is like a button control except that it displays a custom graphic to use as the button. Table D.25 lists the properties of the HtmlInputImage object, and Table D.26 lists the events.

Table D.25. Properties of the HtmlInputImage Object
Property Description
ID Gets or sets the ID (identifier of the HtmlInputImage control.
ALT Gets or sets the caption of the Image control.
SRC Source file of the image (URI/URL).
Height Height of the image to be displayed
Width Width of the image to be displayed.
Align Gets or sets the alignment of the image with surrounding text.
Border Width of the image border, which defaults to 0.
Disabled Gets or sets a value that indicates whether the Disabled attribute ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.