Click or drag to resize
FormHelperLoadItemsIntoList Method
Loads items into list type of control.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax
C#
public static void LoadItemsIntoList(
	string options,
	string query,
	ListItemCollection list,
	FormFieldInfo fieldInfo,
	MacroResolver resolver = null,
	bool sortItems = false
)

Parameters

options
Type: SystemString
Items specified by 'options'
query
Type: SystemString
Items specified by 'query'
list
Type: System.Web.UI.WebControlsListItemCollection
List control
fieldInfo
Type: CMS.FormEngineFormFieldInfo
Current fieldInfo, may be NULL
resolver (Optional)
Type: CMS.MacroEngineMacroResolver
Macro resovler to use
sortItems (Optional)
Type: SystemBoolean
If true, the items are sorted before filling a target collection
See Also