Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What Are The Difference Between AutoEventWireup="true" and
AutoEventWireup="False"

Answer Posted / uma

Dont read all the those things simply understand

actually AutoEventWireup is written in page directive like
this

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default2.aspx.cs" Inherits="Default2" %>

by default it is "true", that means all the events that are
automatically rises when page is loading


if AutoeventWireUp=false then we have to manually write
events and delegates like this




public _Default() // ctor
{
Load += new EventHandler(Page_Load);
PreInit += new EventHandler(Page_PreInit);
}

protected void Page_Load(object sender, EventArgs e)
{
// ...
}

protected void Page_PreInit(object sender, EventArgs e)
{
// ...
}

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do you use the app_code folder in asp.net?

1160


Explain the difference between singleton and single call?

1039


Where sessions are stored in asp.net?

1056


What is considered a service provider?

998


Explain the difference between debug.write and trace.write?

1028


COM+ Used ________________ Isolation Level

2004


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

2175


i want the asp.net technical questions and answeres

2116


How do cookies work? Give an example of their abuse.

1019


Explain Features in ASP.NET

1138


What is paging in context of Memory?

1167


Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

1068


What are the differences between primary foreign and unique keys?

1129


Is a dll file an executable?

1104


Explain server side state management system.

998