I've got a website with a masterpage and a treeview control hooked up to a SiteMapDataSource on the masterpage. A few of the links in the treeview popup a page (they all popup the same page but with different querystrings for each) in a new window to display a report. When the user closes this window, I need it to execute some sql to delete the records that were created for the report, so I added a javascript event handler to the body onunload that calls a PageMethod. Everything works as expected when the user first clicks one of the links and closes the popup. If the user chooses one of the links again directly after they have closed the previous popup, it pops up the page correctly and calls the PageMethod when the window is closed, BUT then everything goes wrong. If you try to navigate to ANY page after that, the request never reaches the server. The browser pretty much just freezes.
So, that is the problem.  ...
Go to the complete details ...