CyberStore Ecommerce 2023 Documentation
IgnoreWhenStockCode Property


Dovetail.Ecommerce.ControlBases Namespace > ItemControl Class : IgnoreWhenStockCode Property
Gets or sets a value indicating whether the control is to be ignored when the Item is a Stock Code.

Property Value

true if ignore when a Stock Code, false (default) if not.
Remarks

When the IngoreWhenStockCode property is true, then if the Item to be used is a Stock Code, the control will set the IgnoreControl property to true which results in forcing all processing to stop and setting the control's Visible property to false so that it is not rendered to the page's HTML code.

Normal processing dictates that when a control is ignored, any and all sub-controls will also be ignored.

See Also

Reference

ItemControl Class
ItemControl Members
IgnoreWhenModel Property
IgnoreWhenSKU Property