Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 13, 2012 12:43 PM by umarii090
Apr 13, 2012 09:43 AM|LINK
What is the Autoeventwireup attribute.
If we set Autoeventwireup="True" what will happen?
and If we set Autoeventwireup="False" what will happen?
Can u give me a real time example for that?
Apr 13, 2012 10:42 AM|LINK
If AutoEventWireUp is true, then methods for the page lifecycle like Page_Load, Page_PreRender etc. will get called automatically. Otherwise you'll need to hook up those events manually.
The default for c# projects is to have auto event wireup to true and the default for vb.net projects is to have it false (and have the handlers specify Handles Page_Load etc. at the method signature).
Apr 13, 2012 11:26 AM|LINK
Read it from here - http://forums.asp.net/t/932513.aspx/1?What+is+AutoEventWireup+
Apr 13, 2012 12:43 PM|LINK