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>
<asp:Button id="button1" Text="Submit"
Visible="False" runat="server" />
</form>
Demo Example »
Control Standard Properties Reference Manual Other Extensions