Torna al Thread
<%@ Page Language="C#" %>
<script runat="server">
protected void nascondi_click(object sender,EventArgs e)
{
label.Visible = false;
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Panel id="mioPannello" runat="server">
<asp:Label id="label" runat="server" Text="ciao" />
<asp:TextBox id="textbox" runat="server" Text="prova" />
<asp:Button id="button" runat="server"
OnClick="nascondi_click" Text="Nascondi" />
</asp:Panel>
</div>
</form>
</body>
</html>