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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top