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

Appendix A: Web Control Reference

Events

Click

raised when the ImageButton is clicked and the form

 

is submitted to the server for processing

Command

raised when the ImageButton is clicked and the form

 

is submitted to the server for processing; values of the

 

CommandName and CommandArgument properties are

 

provided with the event

ImageMap

Properties

Enabled

enables or disables the control

HotSpotMode

defines the behavior when a hot spot is clicked; possible

 

values are Inactive, Navigate, NotSet, and PostBack

HotSpots

the HotSpotCollection object containing the

 

ImageMap’s hot spots; hot spots are defined using three

 

other controls, which generate hot spots of different

 

shapes: CircleHotSpot, RectangleHotSpot, and

 

PolygonHotSpot

Target

specifies the target window or frame where new content

 

should be displayed when a link is clicked; possible

 

values are _blank, _parent, _search, _self, and _top

Events

 

Click

raised when a HotSpot object in the ImageMap is clicked

 

and the form is submitted to the server for processing

Label

Properties

Text

specifies the text displayed by the Label

Visible

controls the visibility of the Label

622