title: .NET Pages Hang in Internet Explorer
body: <p>We have a very odd but major issue with an internal web application. It is written in asp.net 4.0 and has been working fine for a while. However a few days ago it suddenly stopped working in IE10,9 and 8. On certain pages when clicking a button the page hangs for up to an hour. This does not happen in Opera, Chrome or Firefox, but it does happen in all current versions of IE. Some of the PCs have not been rebooted for months so we do not think it is due to an update to IE. Also if we deploy the application to a different server everything works fine for IE too..... It also does not happen when running the site from a development environment. So we have discovered that it only happens when the site is running on either the live server or the test server (both almost identical but not quite) and even then it only happens when accessing the site from IE!</p>
  
  <p>The live and test servers are both win 2008 while the server that it does work on is win 2003 and my dev environment is on windows 7.</p>
  
  <p>Anyone have any ideas about what might be going on or where we could start looking?</p>
  
  <p>EDIT--------------------------------------------------</p>
  
  <p>We have discovered the root of the problem, although not why it is suddenly causing an issue. We have some buttons where a ClientSideOnClick event is added manually. This seems to cause two postback methods to be added to the button (one manual and one automatic). If we do not add the manual event then everything works fine. Obviously we could turn off AutoEventWireup but then our page_load events etc would not be wired up properly (and there are a lot of pages in this app to fix if we do that). Can we disable the autoeventwireup just for the buttons?</p>