Answer:
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