Click or drag to resize
EcommerceTransformationFunctionsMarkEnabledAndDisabledItems Method (DropDownList, String, String)
Sets different css styles to enabled and disabled dropdownlist items.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static void MarkEnabledAndDisabledItems(
	DropDownList drpTemp,
	string valueFieldName,
	string statusFieldName
)

Parameters

drpTemp
Type: System.Web.UI.WebControlsDropDownList
Dropdownlist control
valueFieldName
Type: SystemString
Field name with ID value
statusFieldName
Type: SystemString
Field name with status value
See Also