Please help, i am trying to hide a panel after execute Updatepanel ajax.
All my code works inside UpdatePanel using ajax after click button1,
since i am using ajax and there is not a full postback, how can i hide Panel1 after run my class with click_button1
protected void Button1_Click(object sender, EventArgs e)
{
my stuff...
Panel1.Visible=false; /********* No works because panel1 is outside UpdatePanel1
}
<Asp:UpdatePanel1>
my code
button1
</Asp:UpdatePanel1>
<Asp:panel id="Panel1" runat="server">
*other controls
<Asp:Panel>
Thanks for your help