Hi,
I have a web page (asp.net) and within it I have an image button along with a panel which I want to show when I click the button. I dont want a post back to occur but for some reason it does. The panel shows momentarily before the page refreshes. I want to stop the page refresh.
My code is as follows.
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ImageButton ID="btnPreApp" runat="server" ImageUrl="~/images/preApp.png" />
<ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="btnPreApp" PopupControlID="pnlPreApp"></ajaxToolkit:PopupControlExtender>
<asp:Panel ID="pnlPreApp" runat="server">hello mate!</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
Cheers for any help offered.