EditDialogue Script : DropDownList
EditSyntax
<dlog:DropDownList id={unique DropDownList ID} ObjectName={object field name} FieldName={object field name}
DefaultItem={default string value} param={CGI param} CssClass={CSS class}></dlog:DropDownList>
EditUsage
Displays a drop down list (picklist) of databound or defined list items.
EditAttributes
id: (Required) A unique identifier for the control. Multiple drop down lists displaying the same fields may be used on a page, but each DropDownList control must have a unique ID.
ObjectName: (Optional) Reference to the Salesforce object name.
FieldName: (Optional) The Salesforce custom field name to be displayed.
DefaultItem: (Optional) The first (default) value to appear in the picklist. For example, "Select One".
param: (optional) Populates the DropDownList from a URL parameter.
CssClass: (Optional) Reference to a Cascading Style Sheet class for defining presentation of control.
View more attributesEditExample 1: Databound List
<dlog:DropDownList id="AccountState" ObjectName="Account" FieldName="State" DefaulItem="Select a State" />
EditExample 2: Defined List
<dlog:DropDownList id="DropDownListID" FieldName="Status">
<asp:ListItem>Hot</asp:ListItem>
<asp:ListItem>Warm</asp:ListItem>
<asp:ListItem>Cold</asp:ListItem>
</dlog:DropDownList>