ajax modalpopup extender help

  • Thread starter Jamie Sutherland
  • Start date
J

Jamie Sutherland

Hi ,
On my page I have
updatepanel
2 buttons,
2 modalpopup extenders
panel with a updatepanel and some textboxes in it.

I want to use the 2 buttons to open the same panel using the modalpopup
extenders.
My question is how do i go about this as I can only get the first button to
work.

thanks
Jamie
 
D

Dan Gartner

Hi ,
On my page I have
updatepanel
2 buttons,
2 modalpopup extenders
panel with a updatepanel and some textboxes in it.

I want to use the 2 buttons to open the same panel using the modalpopup
extenders.
My question is how do i go about this as I can only get the first button to
work.

thanks
Jamie

Jamie,

If both buttons are opening the same panel, then you should only need
one popup extender on the page. Just have the OnClientClick event of
both buttons call the same javascript function. Here is a really good
example of how to use the modal popup extender:
http://mattberseth.com/blog/2007/10/modalpopup_with_multiple_cance.html
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top