Specifies whether the control is visible. Setting this field to false will prevent the object from being displayed.
Note: Property is tested before calling Before Show event. In order for the property change to be taken into consideration it should be set before Before Show event is called, for instance in the parent component's Before Show event.
Note: Most of the controls need Extended HTML property checked in order to be hidden. This property is available after selecting Edit ... from the context menu of the control during design-time.
articlesgrid if the web page is displayed by an anonymous (not logged in) user.
Function Page_AfterInitialize() If IsEmpty(CCGetUserID()) Then articles.Visible = false End if End Function