ASP.NET VisibleProperty


控件标准属性参考手册Control Standard Properties Reference Manual

Definition and Usage

The Visible property gets or sets a value that indicates whether the control is rendered on the page.

Syntax

<asp:webcontrol id="id" Visible="True|False" runat="server" />


Example

The following example code makes the button invisible:

<form runat="server">
<asp:Button id="button1" Text="Submit"
Visible="False" runat="server" />
</form>

Demo Example »

控件标准属性参考手册Control Standard Properties Reference Manual Other Extensions