Missing Event

  • Thread starter Thread starter Alex B
  • Start date Start date
A

Alex B

I'm working on my first subclassed web control. What is driving me crazy is
that I can't get the click or the command event to fire. If I take the
parent class and put it on the web form (button) the parent class events
fire just fine, but the moment I subclass it, I can't get my subclassed
handler events to fire. I think it's being posted back before it triggers
that event - how do I overcome that?

tia!
 
Are you declaring it "WithEvents" (Dim WithEvents myClass)? If not, it
won't respond (or be listening) for events.
 
Back
Top