What exactly happens when we change AUTOEVENTWIREUP = FALSE TO TRUE

Showing Answers 1 - 3 of 3 Answers

Amit

  • Aug 18th, 2006
 

we need specify event sequence on by one.

  Was this answer useful?  Yes

rajsekhar

  • Aug 25th, 2006
 

Hi

When AutoEventWireup is true, ASP.NET does not require events to specify event handlers like Page_Load or Page_Init. This means that the Handles keyword in Visual Basic is not required in the server script in the Web Form page.

By default, when the ASP.NET Web application is created in Visual Studio, the value of the AutoEventWireup attribute is set to false in the .aspx page or .ascx control, and event handlers are not automatically created. Do not set AutoEventWireup to true if performance is a key consideration.

Happy coding.............


Sekhar

  Was this answer useful?  Yes

preyatham

  • Aug 27th, 2006
 

Hi,

Autoeventwireup=true will autmatically enable the events like prerender, page_init to execute. These events enable the page to build before loading. Making this false will cause nothing if and only if you dint write anything in these events. These are automatically generated events.

Preyatham

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions