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

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
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