EditDialogue 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 attributesExample
<dlog:ImageButton id="ImageButton1" ImageUrl="~/images/BlueButton.gif" ></dlog:ImageButton>