Button control inside updatepanel

Reply Forum
Forum postvani rao @ 2008-11-12 02:15:18
ReplyReply to
I have a buttoncontrol inside updatepanel say button1. I have another button, button2 outside the updatePanel.

When i click on the button2, i want to make button1 visible/NotVisible. I have added button2-click as trigger for button1.

<updatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="Server">
<asp:Button ID="btnSubmit" runat="server" Text="Submit" />

<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnGo" EventName="click" />
</Triggers>
</updatePanel>

<asp:button ID="btnGo" runat="server"></asp:button>

This is not working. How do i achieve this..anyone has any experiences like this..












© net-tutorials.com 2006 - 2009