Microsoft
Software
Hardware
Network
Question : How to share the same ModalPopupExtender and the popup panel by buttons within different UpdatePanel
Hi everyone,
As in my question title: I got several update panels in a page, and each of them contains a "Add Extra" button. I also added a modal popup extender, and a popup panel.
My question is how can I reuse this ModalPopupExtender for all these "Add Extra" buttons click,
it only has one TargetControlId attribute.
In addition, because I put this ModalPopupExtender outside any update panel, so I got an error when I try to open this page:
" Error:An extender can't be in a different UpdatePanel than the control it extends. "
How can I get rid of this problem, and why an extender can't be in a different UpdatePanel than the control it extends?
Many thanks!
Answer : How to share the same ModalPopupExtender and the popup panel by buttons within different UpdatePanel
Dont do that.
Just on OnClick event of button, manually show ModalPopupExtender as:
ModalPopupExtender1.Show()
;
Hope you get what i mean.
Random Solutions
while using recaptcha in tabs it works in form in tab 1 but image not showing up in form in tab 2
door knob
Print multiple word documents in windows 7?
Using T-SQL Need to return first day of the 34th week last year.
Bottom of the page popup messenger ad
Symantec Protection Suite SBE 3.0 vs Symantec Endpoint Protection Suite SBE 12.0.1
Can't play DVD's in Fedora?
Monitoring 3rd party plug-in
Hiding child windows from Taskbar
Really strange network problem after Juniper SRX install