Sunday 8 July 2012

ImageButton

Image button is used to display a clickable image.We can set image on imagebutton by specifying the image path to ImageUrl property.

Some Commonly Used Properties For ImageButton

ImageUrl Property:
Gets the url of the image that is to be displayed on imagebutton.
AlternateText Property:
Gets or stes the alternate text that will be displayed when image cannot be shown or found.
ImageAlign Property:
ImageAlign property is to set the alignment of the image.
DescriptionUrl Property:
This property defines the url that contains the more detailed description of the image.
OnClientClick Property:
This property defines the client side script that will be executed on client side onclick.
Click Event:
This event fires when the image is clicked.

No comments:

Post a Comment