Click or drag to resize
ControlsHelperGetDropDownListSource Method

Note: This API is now obsolete.

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.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use custom code instead. Will be removed in next major release.")]
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