and record inserted twice why it is happening donno
please help
Collapse | Copy Code<asp:UpdatePanel ID="upanelfolder" runat="server" UpdateMode="Conditional"> <ContentTemplate>
Collapse | Copy CodeContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="btn" EventName="Click" /> Triggers> asp:UpdatePanel>
code behind
Collapse | Copy CodeProtected Sub btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn.Click //insert query End Sub
Kunal NaikPosted Nov 11, 2011, 6:53 AM
I used your code and on the click event change the label text. It works fine and excuting once.
TulasiPosted Nov 11, 2011, 2:17 AM
i copied ur code , but i changed label text in click event ,
but it is executing only one time , put brk point and check once.