C# Class OpenSlx.Lib.Web.Controls.SimplePicklist

Inheritance: System.Web.UI.WebControls.CompositeControl, ITextControl
Afficher le fichier Open project: nicocrm/OpenSlx

Private Properties

Свойство Type Description
ComparePicklistItems int
GetPicklistAttributes PickListAttributes
GetPicklistItems void
RegisterClientScript void
SelectPicklistAdapter IPicklistAdapter

Méthodes publiques

Méthode Description
SimplePicklist ( ) : System

Constructor with default values.

Méthodes protégées

Méthode Description
CreateChildControls ( ) : void

Picks adapter and calls its createchildcontrols method.

OnLoad ( EventArgs e ) : void

Register scripts.

Private Methods

Méthode Description
ComparePicklistItems ( PicklistItemDisplay x, PicklistItemDisplay y ) : int

Helper method for the alpha sort

GetPicklistAttributes ( ) : PickListAttributes

Retrieve the picklist attributes only (used for the PicklistPicklistAdapter)

GetPicklistItems ( PickListAttributes &attr, List &items ) : void

Retrieve the picklist items. This will be cached the first time.

RegisterClientScript ( ) : void
SelectPicklistAdapter ( ) : IPicklistAdapter

Load the picklist data from the database and constructs corresponding adapter.

Method Details

CreateChildControls() protected méthode

Picks adapter and calls its createchildcontrols method.
protected CreateChildControls ( ) : void
Résultat void

OnLoad() protected méthode

Register scripts.
protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

SimplePicklist() public méthode

Constructor with default values.
public SimplePicklist ( ) : System
Résultat System