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
Afficher le fichier Open project: nicocrm/OpenSlx

Méthodes publiques

Méthode 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

Méthode Description
CreateChildListBox ( SimplePicklist parentControl ) : void

Create the associated listbox and send the required javascript.

Method Details

CreateChildControls() public méthode

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

GetValue() public méthode

Get Value
public GetValue ( ) : string
Résultat string

MultiSelectPicklistAdapter() public méthode

public MultiSelectPicklistAdapter ( PickListAttributes attr, List items ) : System
attr PickListAttributes Picklist attributes from SLX
items List Picklist items from SLX
Résultat System

SetValue() public méthode

Set Value
public SetValue ( string value ) : void
value string
Résultat void