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!
 
A

Allen

The events are created to fire! I do not know what you put between the { }.
If you are in doubt, delete everything and between the {}, write the
following between the {}: MessageBox::Show("I am good boy/girl ",L"Goodness
"); if it fires, That means your code have problem. If it does not fire
there is something to be concerned about.
 

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

Members online

Forum statistics

Threads
474,034
Messages
2,570,356
Members
47,002
Latest member
RobertoLip

Latest Threads

Top