CyberStore Ecommerce 2023 Documentation
RequireAnonymous Property


Dovetail.Ecommerce.ControlBases Namespace > CyberStoreBaseControl Class : RequireAnonymous Property
Gets or sets a value indicating whether anonymous shopper is required to load the control.

Property Value

true to require anonymous (not logged-in) to load the control, false (default) if not.
Remarks

When true, if the shopper is logged in then the control is ignored, all processing is stopped. The OnInit, OnPreRender, OnPageLoad, OnDataBinding and OnUnload events are canceled and the control is forced to not Visible.

When a control is ignored, any sub-controls are also ignored by default. In the same way, if a control's parent CyberStore control is ignored, the control will also be ignored.

See Also

Reference

CyberStoreBaseControl Class
CyberStoreBaseControl Members