Cubic Compass Software

- Support Wiki

Dialogue Script : ImageButton

Modified: 2008/09/12 07:12 by mleach - Categorized as: Dialogue Script
Edit

Dialogue Script : ImageButton

Syntax
<dlog:ImageButton id={unique control ID} ImageURL={image URL} 
ImageUrlFieldName={image URL field source} TooltipFieldName={tooltip field source} 
ImageLinkParam={CGI param for image} IsDefault={true/false} 
CssClass={CSS class}></dlog:ImageButton>

Usage
Displays an image. Posts back a web form on click.

Attributes
id: (Required) A unique identifier for the control. Multiple image buttons displaying the same image may be used on a page, but each ImageButton control must have a unique ID.

fieldname: (Required) The Salesforce custom field name to be displayed.

CssClass: (Optional) Reference to a Cascading Style Sheet class for defining presentation of control.

objectname: (Optional) Reference to the Salesforce object name (if different than the object defined in the script editor).

ImageUrlFieldName: (Optional) The Salesforce URL or text field to use as Image source.

IsDefault: (Optional) Default=false. Determines if Image button is used as default button for submitting web form when enter key is pressed.

View more attributes

Example
<dlog:ImageButton id="ImageButton1" ImageUrl="~/images/BlueButton.gif" ></dlog:ImageButton>

ScrewTurn Wiki version 2.0.35. Some of the icons created by FamFamFam.