Home / ASP.NET Wiki / HTML / Web Controls / Image

Image

 Rate It (0)

Use the Image control to display an image on the Web Forms page. Setting the ImageUrl property specifies the path to the displayed image. You can specify the text to display in place of the image when the image is not available by setting the AlternateText property. The ImageAlign property specifies the alignment of the image in relation to other elements on the Web Forms page.

This control only displays an image. If you want the image to behave like a button or need to determine the coordinates where the mouse pointer is clicked on the image, use the ImageButton control.

 

Revision number 2, Tuesday, February 26, 2008 1:26:32 AM by mbanavige

Comments

Related Articles

Add images in Image Rotator With the Help FileUpload Control

In case of ImageRotator we can use FileUpload Control To upload my images.Here I use it in a siple way:-Step 1:- we use Image Control (Image1),FileUpload Contol , Button(Button1..)and HiddenField ( for store the FileName), and a Save button to call the js

Upload an Image and an Audio file using C#

In my case, I use a FileUpload Control(Id:->FileUpload1), an ImageButton(ImageButton1) or you can use the Image, a Button Control(Id:->Updatebttn) to upload my Image, Button Control(Id:->Addbttn) to add my Image in database, an image(which I want

Hyperlink

Use the HyperLink control to create a link that moves you to another page or location on the page. Specify the page or location to link to by using the NavigateUrl property. The link can either be displayed as text or an image. To display text, either set

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. abiruban (1)