Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Hide panel without postback (panel is outside of UpdatePanel)

$
0
0

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


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>