summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/ImageMap.page
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/ImageMap.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/ImageMap.page19
1 files changed, 19 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/ImageMap.page b/demos/quickstart/protected/pages/Controls/ImageMap.page
index 0d7d65b1..997faad6 100644
--- a/demos/quickstart/protected/pages/Controls/ImageMap.page
+++ b/demos/quickstart/protected/pages/Controls/ImageMap.page
@@ -3,4 +3,23 @@
<h1>TImageMap</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TImageMap" />
+<p>
+<tt>TImageMap</tt> represents an image on a Web page with predefined hotspot regions that can respond differently to users' clicks on them. Depending on the <tt>HotSpotMode</tt> of the hotspot region, clicking on the hotspot may trigger a postback or navigate to a specified URL.
+</p>
+<p>
+Each hotspot is described using a <tt>THotSpot</tt> object and is maintained in the <tt>HotSpots</tt> collection in <tt>TImageMap</tt>. A hotspot can be a circle, rectangle, polygon, etc.
+</p>
+<p>
+Hotspots can be added to <tt>TImageMap</tt> via its <tt>HotSpots</tt> property or in a template like the following,
+</p>
+<com:TTextHighlighter Language="prado" CssClass="source">
+&lt;com:TImageMap ... &gt;
+ &lt;com:TCircleHotSpot ... /&gt;
+ &lt;com:TRectangleHotSpot ... /&gt;
+ &lt;com:TPolygonHotSpot ... /&gt;
+&lt;/com:TImageMap&gt;
+</com:TTextHighlighter>
+
+<com:RunBar PagePath="Controls.Samples.TImageMap.Home" />
+
</com:TContent> \ No newline at end of file