C# Class OpenSlx.Lib.Web.Controls.Impl.MultiSelectPicklistAdapter

Adapter for a combination of textbox/listbox. Used for a multi-select picklist, or a picklist where the selected items don't need to match the picklist's values.
Inheritance: IPicklistAdapter
Mostrar archivo Open project: nicocrm/OpenSlx

Public Methods

Method Description
CreateChildControls ( SimplePicklist parentControl ) : void

Create the textbox, associated select control, and send the javascript needed to control them.

GetValue ( ) : string

Get Value

MultiSelectPicklistAdapter ( PickListAttributes attr, List items ) : System

SetValue ( string value ) : void

Set Value

Private Methods

Method Description
CreateChildListBox ( SimplePicklist parentControl ) : void

Create the associated listbox and send the required javascript.

Method Details

CreateChildControls() public method

Create the textbox, associated select control, and send the javascript needed to control them.
public CreateChildControls ( SimplePicklist parentControl ) : void
parentControl SimplePicklist
return void

GetValue() public method

Get Value
public GetValue ( ) : string
return string

MultiSelectPicklistAdapter() public method

public MultiSelectPicklistAdapter ( PickListAttributes attr, List items ) : System
attr PickListAttributes Picklist attributes from SLX
items List Picklist items from SLX
return System

SetValue() public method

Set Value
public SetValue ( string value ) : void
value string
return void