kupasadlao
New Member
I have a simple ASP.NET webforms page with a button and a label. When using Safari 5.1.7 on Windows, clicking the button causes a postback, but does NOT actually cause the button click event to fire for some bizarre reason.There are no javascript errors. There are no UpdatePanels or AJAX of any kind. This is literally the page I'm testing with:\[code\]<!doctype html><html lang="en"><head runat="server"> <meta charset="utf-8"> <title></title></head><body> <form id="form1" runat="server"> <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" /> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </form></body></html>\[/code\]And the code behind is simply:\[code\]protected void Page_Load(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e){ Label1.Text = "test";}\[/code\]When the button is clicked, the Page_Load event does fire one time, but Page.IsPostBack returns FALSE instead of true, and the Label1.Text is never set.Note this problem ONLY happens in Safari. Everything works fine in IE8+, FF15+, Chrome 21+, and Opera 12+.I've read numerous posts about Safari weirdness regarding hidden field size limitations (and therefore viewstate) - but this page should barely even be using viewstate (if at all). There are also many posts about javascript errors relating to UpdatePanels and/or AJAX calls, but as you can see there are none of those here.I believe this question is also related, but I wanted to start a new one with example html/cs so you could reproduce the problem.Am I missing something or is Safari on Windows really this weird?