Click or drag to resize
FormHelperLoadItemsIntoList Method

Note: This API is now obsolete.

Loads items into list type of control.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use SpecialFieldsDefinition and its methods directly instead.")]
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 resolver to use
sortItems (Optional)
Type: SystemBoolean
If true, the items are sorted before filling a target collection
See Also