I just had to go back to the old school ASPX and found this problem.
My form was configured as follows.
<asp:UpdatePanel ID="login" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:Panel ID="forgotPassword" runat="server" DefaultButton="lbtnSendLoginDetails" Visible="False"> <asp:LinkButton ID="lbtnSendLoginDetails" runat="server" >
Code was
Protected Sub lbtnSendLoginDetails_Click(sender As Object, e As EventArgs) Handles lbtnSendLoginDetails.Click
The answer for me was to remove the DefaultButton attribute from Panel and add
TabIndex="4"
at LinkButton.
David hyde
source share