GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Architecture
Go To First  |  Previous Question  |  Next Question 
 Architecture  |  Question 27 of 29    Print  
What is AutoEventFireup ?

  
Total Answers and Comments: 3 Last Update: May 12, 2008     Asked by: jbhaskar 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by:
 
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.

Above answer was rated as good by the following members:
Ag2703
March 15, 2007 05:01:05   #1  
       

RE: What is Auto Event Fire up ?
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.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 27, 2007 05:43:56   #2  
Damodar        

RE: What is Auto Event Fire up ?
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.
 
Is this answer useful? Yes | No
May 12, 2008 16:08:35   #3  
vijayhari Member Since: May 2008   Contribution: 1    

RE: What is Auto Event Fire up ?
Some cases we may need to set this event to true. In those cases we need to handle the events within the postback check.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 3Overall Rating: -3    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape