GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 76 of 164    Print  
What exactly happens when we change AUTOEVENTWIREUP = FALSE TO TRUE

  
Total Answers and Comments: 3 Last Update: August 27, 2006     Asked by: surendar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 18, 2006 07:58:52   #1  
Amit        

RE: What exactly happens when we change AUTOEVENTWIREU...
we need specify event sequence on by one.
 
Is this answer useful? Yes | No
August 25, 2006 05:42:21   #2  
rajsekhar        

RE: What exactly happens when we change AUTOEVENTWIREU...
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

 
Is this answer useful? Yes | No
August 27, 2006 08:49:12   #3  
preyatham Member Since: August 2006   Contribution: 1    

RE: What exactly happens when we change AUTOEVENTWIREU...

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


 
Is this answer useful? Yes | No


 
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