The image control is used for displaying images on the web page, or some alternative text, if the image is not available.
Basic syntax for an image control:
<asp:Image ID="Image1" runat="server">
It has the following important properties:
Properties | Description |
---|---|
AlternateText | Alternate text to be displayed in absence of the image. |
ImageAlign | Alignment options for the control. |
ImageUrl | Path of the image to be displayed by the control. |