C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...









What is the use of AutoWireup in asp.net


Posted Date: 08 May 2008    Resource Type: Articles    Category: Web Applications

Posted By: Kamal       Member Level: Gold
Rating:     Points: 5



AutoEventWireup attribute is used to set whether the events needs to be automatically generated or not.

In the case where AutoEventWireup attribute is set to false (by default), event handlers are automatically required for Page_Load or Page_Init. However, 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 AutoEventWireup is set to "false" see that the page related events are not fired. For example if you write Response.Write("hello world") in the Page_Load event when the AutoEventWireup="false" then the Response.Write.. is not executed.




Responses

Author: Sebastian    13 Jun 2008Member Level: Gold   Points : 1
This is very informative. Thanks for sharing the details.


Author: Gaurav Agrawal    20 Jun 2008Member Level: Silver   Points : 2
Hi
really cool.
you have explaint it very clearly.
It is very much clear now the concept of autoeventwireUp attribute.
Keep Posting and help your fellow developers

Regards
Gaurav


Author: Gaurav Agrawal    20 Jun 2008Member Level: Silver   Points : 2
Hi
really cool.
you have explaint it very clearly but with one mistake the default value of this attribute is true and not false which you have mentioned in your article.
It is very much clear now the concept of autoeventwireUp attribute.
Keep Posting and help your fellow developers

Regards
Gaurav


Author: Satyanarayan SushilKumar Bajoria    27 Jun 2008Member Level: Gold   Points : 2
Hi,

Really ausum.

It's working and i try it.

Keep posting.

Thanks for sharing and upgrading my knowledge.

Thanks and Regards
S.S.Bajoria


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Exploring XHTML, the dotnet way!
Previous Resource: Delete confirmation in ASP.NET gridview control
Return to Discussion Resource Index
Post New Resource
Category: Web Applications


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

it support

Contact Us    Privacy Policy    Terms Of Use