- Action on click: No server call
- Action on click: Server call
- Action on click: Clickable areas defined in edit mode (Image map)
Image control: Operating mode of a clickable image
You can define the click actions of an Image control ("General" tab of the control description window) to make it Clickable Image control.
Action on click: No server call
If the click action is "No server call", the Image control will be a simple clickable image, associated only with a browser click code. You can associate an action with a click on the image:
- in the editor, in the "Type" field.
- programmatically, in browser code only.
However, you cannot get the mouse coordinates or define clickable areas.
Action on click: Server call
If the click action is "Server call", the image will be clickable and will be associated with a server click code.
If "During the action" is set to "Send click coordinates", you can get the click coordinates in server code (using ImageXPos
, or PageParameter
with the "POS" parameter).
Action on click: Clickable areas defined in edit mode (Image map)
If the click action is "Click areas defined in edit mode (Image map)", the image will support clickable areas. This type of image is also called Image Map.
An action can be associated with the click on the image and on each clickable area defined.