Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng]-1.pdf
Скачиваний:
142
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

HtmlInputImage Control

HtmlInputImage Control

The HtmlInputImage control corresponds to an <input type="image" runat="server"> tag.

Properties

Align

Details alignment of the image with respect to other

 

elements on the page; can be set to Top, Middle, Bot-

 

tom, Left, or Right

Alt

a caption that can be used if the browser doesn’t sup-

 

port images, or the image hasn’t yet downloaded

Attributes

a collection of the element’s attribute names and their

 

values

Border

specifies the width of the border around the image

CausesValidation

if True (the default), validation is performed when the

 

button is clicked

Disabled

if set to True, the control will be disabled

ID

contains the control’s ID

Name

the name of the control

Src

contains the URL of the image to use

Style

contains the control’s CSS properties

TagName

returns the element’s tag name

Type

specifies the type of control displayed by this input

 

element

Value

equivalent to the value attribute of the HTML tag

Visible

if set to False, the control won’t be visible

651