What is AutoEventWireUp?

Questions by vajjas

Showing Answers 1 - 4 of 4 Answers

dotnetfellow

  • Aug 23rd, 2006
 

Indicates whether the page's events are automatically enabled

  Was this answer useful?  Yes

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

  Was this answer useful?  Yes

Give your answer:

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

 

Related Answered Questions