FormHelperGetSelectedValuesFromListItemCollection Method |
Returns string with selected values (e.g.: "value1|value2|value3").
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax public static string GetSelectedValuesFromListItemCollection(
ListItemCollection items,
string separator = "|"
)
Parameters
- items
- Type: System.Web.UI.WebControlsListItemCollection
selected values - separator (Optional)
- Type: SystemString
[Optional] separator for selected values. Default value is "|".
Return Value
Type:
StringSee Also