This documentation is archived and is not being maintained.

Timer::Visible Property

Overrides the Visible property of the Control class to prevent this value from being set.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

[BrowsableAttribute(false)]
public:
virtual property bool Visible {
	bool get () override;
	void set (bool value) override;
}
<asp:Timer Visible="True|False" />

Property Value

Type: System::Boolean
true if the control is rendered on the page; otherwise, false.

ExceptionCondition
NotImplementedException

A value is assigned to the Visible property.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: