ASP.NET Visible Property


Control Standard Properties Reference Complete Control Standard Properties Reference

Definition and Usage

The Visible property indicates whether or not a control is visible.

Syntax

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

Example

The following example shows the code for a button that is not visible:

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

Show example »

Control Standard Properties Reference Complete Control Standard Properties Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: