Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Visible Property

Overrides the Visible property of the Control class to prevent setting this value.

Syntax

CSharp

VisualBasic

ManagedCPlusPlus

[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)]
[BrowsableAttribute(false)]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public:
virtual bool Visible {
	bool get () override;
	void set (bool value) override;
}

JSharp

/** @property */
/** @property */

Value

Return Value

true if the control is rendered on the page; otherwise, false.

Remarks

The Visible property is overridden in the Timer class to prevent setting this property. The Visible property returns true if the client component of the Timer class is included in the Web page, even if Enabled is set to false. The Visible property returns false when it is inside a container, such as an UpdatePanel control, whose Visible property is set to false.

Exceptions

ExceptionCondition
NotImplementedException

A value is assigned to the Visible property.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)