I'm doing some funky things with UserControls, dynamically loading them. I won't go into all the details, but it works just fine. Except for one thing ... if I have a button on the UserControl, it's Click event doesn't appear to be firing the first time it's clicked. After that, I can click on it all day and the event handler runs just fine. This is what appears to be happening, but I don't know how to figure out exactly where it's going wrong.
My question is this: is there something I can do to see what events have fired and which event handlers have been delegated to handle the event? I suspect something goes wrong in the wiring somewhere in there, and being able to track which events are actually firing might help me find where it's going wrong.
Thanks,
~~Bonnie