Alex Rivera | Logout

Page_Load is firing twice in ASP.NET page

Asked 2011-01-24T18:46:19.043
45

Asp.net page_load function is loading twice.. hence it affects my page performance. Does anyone know the reason it is loading twice.

No, iam not calling the page load function anywhere...

Edit
Report

1 Answer

4

I solved my issue by setting the AutoEventWireUp attribute to FALSE. I got this issue when migrating from .net 1.1 to .net 4.0. Somehow VS2012 reset this attribute to TRUE when I copy the file over from the older version.

answered 2013-07-17T02:33:08.887

Your Answer