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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top