` element. In HTML, this element is used to create a"> ` element. In HTML, this element is used to create a" />
Easy Tutorial
❮ Mvc Layout Prop Webcontrol Style Bordercolor ❯

ASP.NET HtmlInputImage Control



Definition and Usage

The HtmlInputImage control is used to control the <input type="image"> element. In HTML, this element is used to create a button using an image, which can replace a regular button.


Properties

Property Description
Align The alignment of the image.
Alt The alternative text to display for the image.
Attributes Returns all attribute name and value pairs of the element.
Border The width of the border around the element.
Disabled A Boolean value indicating whether the control is disabled. Default is false.
id The unique ID of the control.
Name The name of the element.
OnServerClick The name of the function to be executed when the image is clicked.
runat Specifies that the control is a server control. Must be set to "server".
Src The source of the image.
Style Sets or returns the CSS properties applied to the control.
TagName Returns the tag name of the element.
Type The type of the element.
Value The value of the element.
Visible A Boolean value indicating whether the control is visible.

Example

HTMLInputImage


❮ Mvc Layout Prop Webcontrol Style Bordercolor ❯