In master page create style:
<
style type="text/css">
.hiddenbutton
{
}
display:none;
</
style>
Add button the first line after Form tag:
<
asp:Button ID="btnFakeDefault" CssClass="hiddenbutton" Enabled="false" runat="server" OnClientClick="return false;" />
In code behind for the event OnInit add explicit assignment for our button:
form1.DefaultButton = btnFakeDefault.UniqueID;
That is it! We disabled our default button without postback.