Click or drag to resize
FormControlsHelperSelectMultipleValues Method

Note: This API is now obsolete.

Selects multiple values in control.

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Method was not intended for public use and will be removed in the next version. In types derived from CMS.UIControls.ListFormControl use method SelectMultipleValues(IEnumerable<string>) instead.")]
public static void SelectMultipleValues(
	IEnumerable<string> selectedValues,
	ListItemCollection list,
	bool ignoreCase = false
)

Parameters

selectedValues
Type: System.Collections.GenericIEnumerableString
Selected values
list
Type: System.Web.UI.WebControlsListItemCollection
List item collection
ignoreCase (Optional)
Type: SystemBoolean
If true, compare is case insensitive
See Also