Click or drag to resize
ControlsHelperGetDropDownListSource Method
Returns dataset with columns Text and Value for a dropdown list source. If resource prefix is defined, text is resolved as resource string "[prefix].value"

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax
C#
public static List<ListItem> GetDropDownListSource(
	IEnumerable<string> items,
	string resourcePrefix = null
)

Parameters

items
Type: System.Collections.GenericIEnumerableString
resourcePrefix (Optional)
Type: SystemString

Return Value

Type: ListListItem
See Also