ajax modalpopup extender help

  • Thread starter Thread starter Jamie Sutherland
  • Start date 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
 
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
 
Back
Top