Click or drag to resize
FormControlsHelperSelectSingleValue Method

Note: This API is now obsolete.

Selects single value in control of type ListControl.

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 SelectSingleValue(string) instead.")]
public static void SelectSingleValue(
	string selectedValue,
	ListControl list,
	bool ignoreCase = false
)

Parameters

selectedValue
Type: SystemString
SelectedValue
list
Type: System.Web.UI.WebControlsListControl
List control
ignoreCase (Optional)
Type: SystemBoolean
If true, the selection is searched as case insensitive
See Also