EcommerceTransformationFunctionsMarkEnabledAndDisabledItems Method (DropDownList, String, String) |
Sets different css styles to enabled and disabled dropdownlist items.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax 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