X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook