blob: 44b988dd4a380ada533e5c49b0e01b752b9fe6b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<com:TContent ID="body" >
<h1>TActiveImageButton</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveImageButton" />
<p class="block-content">
<tt>TActiveImageButton</tt> is the active counterpart of <tt>TImageButton</tt>.
When a <tt>TActiveImageButton</tt> is clicked, rather than a normal post back request a callback request is initiated.
The<tt>OnCallback</tt> event is raised during a callback request and it is raised <b>after</b> the <tt>OnClick</tt> event.
</p>
<p class="block-content">
<tt>TActiveImageButton</tt> is similar to <tt>TActiveButton</tt>, except that <tt>TActiveImageButton</tt> displays the button as an image. The image is specified via <tt>ImageUrl</tt>, and the alternate text is specified by <tt>Text</tt>. In addition, it is possible to obtain the coordinate of the point where the image is clicked. The coordinate information is contained in the event parameter of the <tt>OnClick</tt> event (not <tt>OnCallback</tt>).
</p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveImageButton.Home" />
<div class="last-modified">$Id$</div></com:TContent>
|