I am currently developing a web application in ASP.NET Framework 4 and I am experiencing problems with Safari 5.1.5. My web app is running fine with Internet Explorer 9, Firefox 11 and Chrome 18.
When I click a button with a server event (PostBack), it doesn’t fire. None of them, so impossible to use the web app at all.
Is there someone who experienced that issue?
EDIT
For example, for a button that does a PostBack, the browser gets this code:
<input type="submit" name="ctl00$MainContent$cmdClose" value="Fermer" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$MainContent$cmdClose", "", true, "Fields", "", false, false))" id="ctl00_MainContent_cmdClose" style="height:30px;width:150px;height: 30px" />
Second EDIT
In the JavaScript console, I get the exception PageRequestManagerParserErrorException
Third EDIT
The ASPX
<asp:Button ID="cmdClose" runat="server" Text="Fermer" Width="150px" OnClick="cmdClose_Click" ValidationGroup="Fields" Height="30px" />
The C#
protected void cmdClose_Click(object sender, EventArgs e)
{ /*Some Code*/}
I just solved the problem with this site.