UpdatePanel and ASP:Button - Button's Click event doesn't fire

M

MU

I have an UpdatePanel on my web form and inside the ContentTemplate, I
have a button that will process the data that the user has entered
into the textboxes, etc.

When the button is in the UpdatePanel's ContentTemplate, the Click
event doesn't fire.

When I take it out of the ContentTemplate and add it right after the
UpdatePanel, the Click event works. Is there a way for me to have
that button in the ContentTemplate or do I have to keep it outside to
have my code executed?

Thanks
 

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
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top