C# Class SenseNet.Portal.UI.Controls.ChoiceControl

Inheritance: FieldControl, INamingContainer
Exibir arquivo Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DoAutoConfigure ( FieldSetting setting ) : void
GetBrowseControl ( ) : Control
GetData ( ) : object
SetData ( object data ) : void

Protected Methods

Method Description
AddChangeScript ( WebControl listControl, Control extratextBox ) : void
BuildControl ( System.Web.UI.WebControls.ListItemCollection itemCollection, List selectedItems ) : void
BuildOptions ( System.Web.UI.WebControls.ListItemCollection listItems, List configuredOptions, List values ) : void
FillBrowseControls ( ) : void
GetExtraValue ( ) : string
GetSelectedItems ( System.Web.UI.WebControls.ListItemCollection listItems, bool returnWithValues ) : List

Returns a list with the selected items and the given extra value if specified.

GetSelectedOptions ( System.Web.UI.WebControls.ListItemCollection listItems ) : List
SetExtraValue ( string value ) : void

Method Details

AddChangeScript() protected method

protected AddChangeScript ( WebControl listControl, Control extratextBox ) : void
listControl System.Web.UI.WebControls.WebControl
extratextBox System.Web.UI.Control
return void

BuildControl() protected method

protected BuildControl ( System.Web.UI.WebControls.ListItemCollection itemCollection, List selectedItems ) : void
itemCollection System.Web.UI.WebControls.ListItemCollection
selectedItems List
return void

BuildOptions() protected method

protected BuildOptions ( System.Web.UI.WebControls.ListItemCollection listItems, List configuredOptions, List values ) : void
listItems System.Web.UI.WebControls.ListItemCollection
configuredOptions List
values List
return void

DoAutoConfigure() public method

public DoAutoConfigure ( FieldSetting setting ) : void
setting FieldSetting
return void

FillBrowseControls() protected method

protected FillBrowseControls ( ) : void
return void

GetBrowseControl() public method

public GetBrowseControl ( ) : Control
return System.Web.UI.Control

GetData() public method

public GetData ( ) : object
return object

GetExtraValue() protected abstract method

protected abstract GetExtraValue ( ) : string
return string

GetSelectedItems() protected method

Returns a list with the selected items and the given extra value if specified.
protected GetSelectedItems ( System.Web.UI.WebControls.ListItemCollection listItems, bool returnWithValues ) : List
listItems System.Web.UI.WebControls.ListItemCollection Collection of the items are given in the field.
returnWithValues bool If true, the result collection is constructed with value of the ListItem. If false, the value of the text property of the ListItem is used.
return List

GetSelectedOptions() protected method

protected GetSelectedOptions ( System.Web.UI.WebControls.ListItemCollection listItems ) : List
listItems System.Web.UI.WebControls.ListItemCollection
return List

SetData() public method

public SetData ( object data ) : void
data object
return void

SetExtraValue() protected abstract method

protected abstract SetExtraValue ( string value ) : void
value string
return void