Visible
if set to False, the control wont 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 doesnt support images,
or the image hasnt yet downloaded
Attributes
a collection of the elements 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 controls ID
Src
contains the URL of the image
Style
contains the controls CSS properties
TagName
returns the elements tag name
Visible
if set to False, the control wont 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 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.