ASP.NET button event not firing

P

Peter

Hi there,

I have a problem, with a button event which I cannot understand how to fire.

I have a class which I've built to display modals using the AJAX
ModalPopupExtender.

To use it I instantiate the class, tells it what kind of modal I want, then
I recieve a ModalPopupExtender, and a panel where the popup is defined.

So far no problems, the question is, how do I fire the click event that is
defined to the button inside the panel that I'm recieving.

I have tried:
Defining the event in my modal class, and adding that eventmethod to my
code-behind file. (It does not trigger the event)
Defining the event in my codebehind using Findcontrol on the panel that I
receieve from my class (It does not trigger the event)

Any suggenstions on how to catch the click-event?

Best regards,
Peter!
 

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

Similar Threads


Top