
Visible
if set to False, the control won’t be visible
HtmlImage Control
The HTMLImage control corresponds to an HTML img element.
Properties
Align
details alignment of the image with respect to other
elements on the page; can be Top, Middle, Bottom,
Left, or Right
Alt
a caption to use if the browser doesn’t support images,
or the image hasn’t yet downloaded
Attributes
a collection of the element’s attribute names and their
values
Border
specifies the width of the border around the image
Disabled
if set to True, the control will be disabled
Height
specifies the height of the image
ID
contains the control’s ID
Src
contains the URL of the image
Style
contains the control’s CSS properties
TagName
returns the element’s tag name
Visible
if set to False, the control won’t be visible
Width
specifies the width of the image
HtmlInputButton Control
HtmlInputButton represents an <input runat="server"> tag with a type attrib-
ute of button, submit, or reset.
647
HtmlImage Control
Get Build Your Own ASP.NET 2.0 Web Site Using C# & VB, Second Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.