ASP.Net Page loading twice
If you are observing load event twice in a post back in ASP.Net page, check the following:
- If Page_Load handler defined in Codebehind then AutoEventWireup property should be “false”
- Check if you have mistakenly multiple event handlers registered for an event
- Src or ImageURL attribute of your image control are defined and not empty (you can put %20 for blank)
- bgColor or background is empty
Last two problems usually appears in one browser while disappears in other.
10 comments