From: http://www.cnblogs.com/fantasyice/archive/2009/08/12/1416930.html
Recently, I found in the Firefox browser that the page_load method has been loaded twice. The reason is odd. I have found many solutions on the Internet, but there is no answer to the problem.
After checking Microsoft msdn, we recommend that you set autoeventwireup in the header of the ASPX page to false.
If autoeventwireup is set to false, all event delegation on the page must be manually bound.
For pages that have already written many methods, such modifications are not desirable.
After careful check on the page, I found that I don't know which brother set SRC to "" When writing the IMG control "".
In this way, when the Firefox browser is running, the IMG of src = "" will be automatically assigned the SRC value as the Browse page. Index. aspx in the IIS Site settings.
Solution: Delete the src = "" attribute of the Control and click OK!
Find the cause and record it. In case of such a problem, you can provide some help.
When writing in the future, do not set SRC.