What is AutoEventFireup ?

Showing Answers 1 - 9 of 9 Answers

Guest

  • Mar 15th, 2007
 

AutoEventWireup is an attribute in Page directive. It's a Boolean attribute which indicates whether the asp.net pages events are auto-wired.When we set the value of the AutoEventWireup attribute to true, the ASP.NET runtime does not require events to specify event handlers like Page_Load or Page_Init.If we set the value of this attribute to true, framework must make a call to reateDelegate method for every Web Form (.aspx page). So it will be a performance issue and should not set the value to true if performance is a key issue.

Damodar

  • Mar 27th, 2007
 

It will set a value to false or true which tells whether the ASP.NET pages are automatically connected to the event handling functions or not.By default it will be set to False.If it is set to true handlers will be executed twice.

  Was this answer useful?  Yes

vijayhari

  • May 12th, 2008
 

Some cases we may need to set this event to true. In those cases we need to handle the events within the postback check.

  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