This is a weird one for you…
I have a search box in my web form set up like so:
<asp:Panel id="pnlSearch" defaultbutton="btnSearch" runat="server">
<asp:TextBox id="tbSearch" runat="server" />
<asp:LinkButton id="btnSearch" onClick="EventHandler" runat="server" />
</asp:Panel>
In FireFox and IE the default button works fine. In Chrome, however, it doesn’t work. Has anyone seen this behavior before and know of a fix? I thought the .NET framework would automatically wire up the correct button when it’s set as a defaultbutton on the panel/form…
Changing the defaultButton from a linkButton to a standard button corrected the problem.