GeekInterview.com
Series: Subject: Topic:
Question: 330 of 648

What is AutoEventWireUp?

Asked by: vajjas | Member Since Nov-2005 | Asked on: Aug 10th, 2006

View all questions by vajjas

Showing Answers 1 - 2 of 2 Answers
dotnetfellow

Answered On : Aug 23rd, 2006

Indicates whether the page's events are automatically enabled

  
Login to rate this answer.
aanand_agrawal

Answered On : Apr 24th, 2009

View all answers by aanand_agrawal

Put breakpoint on page_load
You will find control of break point will stop in case 1 where
AutoEventWireup="true" and you will not find stop in debug mode in case 2
You will find break also in case 3 at dubugging time because handler is
explicitly define when AutoEventWireup="false"
Hope you will get the point
Case 1:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
End Sub
Case2:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
End Sub
Case3:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
End Sub

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.