WebApplication Performance and Asp.net Page Property AutoEventWireUp
Get or set value indicating whether events for ASP.NET pages are automatically bind to event handling functions
Get or set value indicating whether events for ASP.NET pages are automatically bind to event handling functions. Type:Boolean true if events for ASP.NET pages automatically bind to event handling functions otherwise false.The default is true. When AutoEventWireup is true,ASP.NET does not require you to expicitly attach your event handlers to page events such as Load. for example,if you have Page_Load method in your code for a page with valid signature.So when AutoEventWireUp is true then handlers are automatically bound to events at run time based on their name and signatureFor each event,ASP.NET searches for a method that is named according to the pattern Page_eventname.ASP.NET checks first for an overload that has the typical event-handler signature (Sender object EventArgs e).When AutoEventWireUp is false, you explicitly bind event handling fuction to events. in that case method name do not have to follow a pattern. For example,WebApplication Performance and Asp.net Page Property AutoEventWireUp
Property value
Tips:
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
}
