wrong event handler called
Posted on 2003-11-21
I place user controls B,C,D in user control A. I place A in some.aspx.
After I clicked B, C or D's event handler will not be called when clicked. If I click C or D after I click B, I'll just see the results I got from clicking B. However, if I click C or D then click X, it would work. In other words, the moment I click on B, every other event handler will not be reachable anymore.
How do I debug this? Where should I place the break points? Who calls the OnInit() in each user control? I want to know why when C or D is clicked, the B handler is called.
I see that something called OnInit() of BCD then OnInit() of A, onInit() of "some.aspx", then page_load in the oposite direction. However, I don't know how I can set the break point so that I can see why B handler is being called when not supposed to.