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
ImageMaps 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
Appendix A: Web Control Reference

Get Build Your Own ASP.NET 2.0 Web Site Using C# & VB, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.