Hi all, I have an within which I have a LinkButton, and I am trying to handle its client side click event before its partial postback event occurs. I am using jquery for this, and its click event is not firing at all. The code works fine without updatepanel, but fails with it.
<asp:UpdatePanel ID="ContinueTestPanel" runat="server">
<ContentTemplate>
<div id="Pause-Screen">
<asp:Label ID="ServerMessage" runat="server" />
</div>
<div class="submit">
<asp:LinkButton ID="ContinueTest" runat="server" text="Continue" CssClass="continue-test"/>
</div>
</ContentTemplate>
</asp:UpdatePanel>
Corresponding jquery code :
$(".continue-test").click(function() {
$(".pause-screen-wrapper").hide();
});
I have double tested, but of no use. Your thoughts plz.