NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Image Web Control

The Image control displays a Web-compatible image.

ASP+ Syntax

Required properties are noted in boldface type.

<asp:Image id="Image1" runat="server"
   ImageUrl="string"
   AlternateText="string"
   ImageAlign="NotSet|AbsBottom|AbsMiddle|BaseLine|Bottom|Left|Middle|
       Right|TextTop|Top"
/>
Note   Because the <asp:Image> element has no content, you can close it with />.

Properties

Property Description
(Base control properties) The properties defined in Base Web Control Properties.
AlternateText Text to display if the image referenced by ImageURL is not available. In some browsers, the alternate text is displayed as a ToolTip when the user holds the mouse pointer over the image.
ImageAlign The alignment of the image with surrounding text. The default is NotSet.

When programming, you set this property using the ImageAlign enumeration.

ImageUrl The URL of the image to display.

Example

To be supplied.

See Also

Web Forms Controls by Function |