What is the use of AutoEventWireUp attribute?

 Posted by Tripati_tutu on 4/30/2011 | Category: ASP.NET Interview questions | Views: 3196 | Points: 40

The use of AutoEventWireUp attribute is to execute the code in the Page event
handlers like Init, Load etc.

In the earlier versions of ASP.NET that is (1.0/1.1), it was false by default.
If we will make it true, then the Page_Load() will fire two time. But from ASP.NET2.0
onwards, the default value for AutoEventWireUp attribute is true.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response