Latest web development tutorials

ASP.NET Visible property

Control Standard Properties Reference Control Standard Properties Reference

Definition and Usage

Visible Property Gets or sets a value indicating whether the control is rendered on the page.

grammar

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


Examples

The following example code button is not visible:

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

The demonstration >>

Control Standard Properties Reference Control Standard Properties Reference